This page is an archive for the older versions of My Page Order. All new comments should be made here.
Gives you manual control over the order of your WordPress pages by letting you easily set an explicit order. Works with subpages too. Now with built-in Widget support.
Download My Page Order:
- WP 2.5: Now hosted at the WordPress.org Plugin Directory
- WP 2.2 and 2.3: mypageorder-2-2.zip
- WP 2.1: mypageorder2-1-3.zip
- WP 1.5 & 2.0: mypageorder.zip
- Update 3/30/2008: For WP 2.5, I’ve moved all future downloads to the WordPress Plugin directory. This page will stay up as a testament to this plugin’s popularity over the past 2 years.
- Update 9/30/2007: Checked compatibility with WP 2.3.
- Update 6/30/2007: The release you’ve all been waiting for!!! Built in widget support, hacking the widgets.php file is a thing of the past.
- Update 5/10/2007: Big update! I rewrote the interface and replaced the unfriendly up and down arrows with spiffy new drag and drop ordering. Check it out, definitely worth the upgrade, I’ve only tested on 2.1.3 but it should work on any 2.1.x install.
- Update 1/22/2007: Updated to WP 2.1.
- Update 1/14/2007: Checked compatibility with WP 2.0.6, no changes needed.
This is my third WordPress Plugin and I’m continuing with the idea of being able to control the order of how things are displayed. Categories and Links have various means of being ordered, there’s just no way to manually set an order.
Pages on the other hand have a means of specifying an order which was introduced in WP 2.0. The Page Order tab was added on the Write Page screen. The way this ordering is implemented though makes it completely useless. The order doesn’t automatically increment when you start a new page and it is a major pain to insert a page where you want it. Got a new page you want to insert at the top of 25 other pages? Have fun incrementing the order on 25 pages (unless it accepts a negative number which is just another bad idea).
This plugin gives you a simple interface that allows you to arrange the order of your static pages. It uses and sets the same field in the database as WP does so if you have set an order before it will be preserved.
- Move mypageorder.php to /wp-content/plugins/
- Activate the My Page Order plugin on the Plugins menu
- Go to the “My Page Order” tab under Manage and specify your desired order for pages
- If you are using widgets then just make sure the “Page” widget is set to order by “Page order”. That’s it.
- If you aren’t using widgets, modify your sidebar template to use correct sort parameter, “sort_column=menu_order”:
In your templates (accessible through the theme editor or downloading the file off the server) there might be several places your list of pages gets outputed. To use your sort order each instance must have the sort column argument set like the following:
That’s it. Out of the box everything is there to make the manual ordering happen, it just needs a better interface to make it less time consuming for the WP user to manage and my plugin is really just a stopgap measure until something better gets built into the WP release.
If you have any problems let me know, I am more than happy to help resolve any issues you may have. I’ll respond to your comment through email so be sure to put a valid email in. Even if you don’t have problems leave a comment or throw a couple bucks to buy some beer.