When I talked about my first impressions of WordPress 2.5 I mentioned the new shortcodes. Then I went more in depth, as I explained exactly what WordPress Shortcodes were, and how they worked. However, neither time did I mention that there is a shortcode that is built into WordPress (no plugin needed). It’s the gallery shortcode. You can upload images to the post, and then choose to “Insert gallery into post” and it will add a [gallery] tag to your post, which will be replaced with the image gallery when people view it. The problem? Images are stuck in whatever order you upload them in.
Read the rest of WordPress Reorder Gallery Plugin »
Warning: This plugin was affected by Trac ticket 6444, which was fixed in WordPress 2.5.1, so get 2.5.1!
The Google Maps for WordPress plugin allows you to easily insert Google maps into your blog, making use of the new shortCode system in WordPress 2.5. The maps can be configured to offer directions to or from the location, show or hide the zoom/pan controls, show/hide map type, activate zoom using mouse wheel, and more.
It requires a Google Maps API key, and then gives you a nice interface near your editor to help you build the map and send it to the editor.
My latest plugin is a sidebar widget that handles Twitter feeds. It’s true that you could just point and RSS widget at one of the Twitter feeds, but you end up with the whole tweet (I honestly don’t know what they are called) as a link, @replies don’t function, etc. Twitter Widget Pro properly handles twitter feeds, including @username and link parsing, feeds that include friends or just one user, and can even display profile images for the users. It’s set up like the RSS widgets, so you can have as many of as you want on your sidebars.
I currently have my twitter feed in the right sidebar, showing the last five tweets, and Kevin Rose’s feed (with friends) in the left sidebar, showing profile images along with each of the last 10 tweets.
I tried to make everything easily styled, so there are no built-in styles. If you don’t know exactly what you need, here is what I’m using on this site:
/**
* Twitter Widget
*/
.widget_twitter li {
clear:both;
}
.widget_twitter li img {
float:left;
margin-right:.5em;
}
.widget_twitter li .clear {
clear:both;
}
Read the rest of Wordpress Twitter Widget »
Empty posts/pages in wordpress still get wrapped in tags, which makes them invalid. This plugin fixes that.
Update: This plugin is not needed in 2.5, it has been included in the WordPress core.
This plugin uses DOM to add a class (current_page_ancestor) to the li tag of each page that is an ancestor of the current one. With a little CSS, you can have nice collapsing menus. This code assumes that your pages are listed using the usual wp_list_pages function, and that they are in an element with the id of nav.
#nav ul li.current_page_item ul,
#nav ul li.current_page_ancestor ul {
display:block;
}
#nav ul li.current_page_item ul ul {
display:none;
}
I wanted collapsing menus in Wordpress, not Javascript based, but something that would display only top level pages AND pages that are either children of the current page or children of the ancestors of the current page. It may sound confusing, but it’s really quite logical. Take a look:
Read the rest of Wordpress Mark Parent Pages Plugin »
This plugin allows you to use the powerful Google Analytics to track your Wordpress stats. It’s easily configurable to:
- Not log anything in the admin area
- Log 404 errors as /404/{url}?referrer={referrer}
- Log searches as /search/{search}?referrer={referrer}
- Log outgoing links as /outgoing/{url}?referrer={referrer}
- Not log any user roles (administrators, editors, authors, etc)
Changelog
- 04/23/2008: 1.1.0
-
- Major revamp to work better with the new Google Tracking Code. It seems that outgoing links weren’t being tracked properly.
- 04/17/2008: 1.0.0
-
- Released to wordpress.org repository
- 07/03/2007: Version 0.0.2
-
- Fixed problem with themes that do not call wp_footer(). If you are reading this and you are a theme developer, USE THE HOOKS! That’s what they’re there for!
- Updated how the admin section is handled
This WordPress plugin allows you to create a list of attachments on your messages (as seen in areas of this site). You can choose to show them on all posts, some posts (adds an option to the “Write” page), or not show them at all. Even specify whether you want to show files that are already linked in your post or not.
The icons are also customizable. You can choose whether to show icons with the files (uses “Silk” by famfamfam by default), and can even specify what icons go with which file extensions, as well as add your own icons (and remove the ones that are there).
I welcome any suggestions or bugs, and while you are at it, you can check out my other WordPress plugins
Changelog
- 05/12/2008: 1.0.1
-
- Fixed problem with plugin causing custom excerpts to not be shown
- 01/14/2008: 1.0.0
-
- Added to the wordpress.org repository
- 06/28/2007: 0.1.3
-
- Added support for WP 2.2.x-s
- 01/10/2007: 0.1.2
-
- Added the option to not show file lists on excerpts
- 01/07/2007: 0.1.1
-
- Added the option to not show file lists on category pages
- 01/05/2007: 0.1
-
This is a WordPress plugin that allows registered users to choose to be notified of any new posts or comments on your blog. It will add a new personal option to their profile where they can choose: No notification, Notify of posts, Notify of comments, or Notify of posts and comments. It’s released under the GPL license, and if you have any improvements or bugs, let me know!
Installation:
Extract the wp-notify_members.php into the wp-content/plugins/ directory, and enable the plugin from the Plugins section in the admin area of your WordPress blog.
Changes:
0.2.2:
- Removed Some debug info that was PHP5 only.
0.2.1:
- Fixed some problems with the admin setting a user’s notification setting
0.2:
- There is a new options page
- You can choose to notify on edited posts
- You can choose to notify everyone (no matter their subscription)
- You can choose to notify everyone on a per post basis
- Added better comments
0.1.4:
- Now admin can see option when editing a user (no longer a “personal” option)
0.1.3:
- Fixed bug in comment link
- No longer sends to owner of POST that comment was made on (WordPress already does this)
- Took out a random print_r that was sending in the E-Mails
0.1.2:
- Removed usage of the ’self’ keyword (for PHP4 compatibility)
- No longer sends to owner of comment or post respectively (they know what they just posted)
0.1.1:
- Removed usage of the ’str_ireplace’ function (for PHP4 compatibility)
0.1:
This plugin requires that a user be logged in to see any page in your blog (except the login and register pages).