If you’d like to re-arrange the order that WordPress displays posts this plugin might help.
With aStickyPostOrderER you can customize the order of appearance of posts per category, per tag – or over-all – in a WordPress (versions 2.3+) blog. Useful for using WordPress as a Content Management System (C.M.S.).
NB! This will only work with WordPress 2.3+!
Downloads and latest version now via the official WordPress plugins repository.
aStickyPostOrderER 0.2.2.2 Beta (22 December 2007) – This latest beta version includes the ability to set meta-stickiness, i.e. you can specify that post from a specific category or tag, or a specified number of posts of same should appear before or after the sorted posts, or after everything else.
In future I might add these abilities:
- to have stickiness expire at a certain point in time and such,
- to also order per tag done
- specify CSS selectors or custom code insertion to identify ‘sticky’ posts
- and have some auto configuration options etc.
- to propagate order set for parent categories to child categories
- set entire category sticky etc. in beta
- order-by-day and/or order-by-month etc. (Good idea, Thanx Mike!)
Ideas and requests most welcome!
- v0.2.2.1 – 22 Dec 2007:
As described above, implemented the meta-stickiness functionality, bit more clean up of interface.
- v0.2 – 18 Dec 2007:
Lots of stability improvements and as well as the interface elements for meta-stickiness – which when implemented will allow you to specify that you e.g. want the last 5 posts in a specific category(ies) or tag(s) to precede everything else, or move an entire category right to the ‘bottom’ and some stuff in between – more detail when I release the next version (hopefully with that part working. Special thanks to Alvise Nicoletti of for a significant amount of testing issues related to using the plugin with complex nested category structures – also for the great review of the plugin he’s published.
- v0.1.7 – 2 Dec 2007:
Fixed bug in MySQL that created listing errors in some cases for some blogs that had been updated from previous versions of WordPress.
- v0.1.6 – 28 Nov 2007:
Adds ability to order posts per tag and improves interface showing no. of sorted posts / cat. or tag.
- v0.1.5 – 27 Nov 2007:
Support for non-default database prefixes.
Not listing empty post categories as options for sorting.
Show name of the category being sorted while sorting.
- v0.1.4 – 22 Nov 2007:
Fixed the creation of the database table at activation of the plugin.
- v0.1.3 – 21 Nov 2007 :
Modified DB structure to eliminate errors reported associated with ambiguous field names, changing title to aStickyPostOrderER.
I created this plugin to solve the cahallenge posed by non-trivial ordering of posts when using WordPress as a Content Management System(C.M.S.) at David Krut Publishing.
There we use a single WordPress install to run both the news and blog sections as well as a bookshop catalog – for news items the default reverse chronological order is perfect but in the case of books there are issues other than date of uploading to the site that should determine the prominence the particular ‘post’ about a book is given on the site. This plugin allows manulally configuring the order posts appear in when viewing a specific category – with ordered posts apearing first followed by the rest in their usual order without braking the default WordPress pagination.
Sites that use aStickyPostOrderER
If you use aStickyPostOrderER please pop me an email saying so with your URL (along with any praise you’d like to include:) to email@example.com and I’ll link to your site from here.
- Get Rich Geek
- Credit Cards AU
- Lake Garda Improvement Association (LGIA) Web Site
- You Pick the Sermon
- Nokao, photography, web developement
Donations & Punting
- Unzip and place the ‘aStickyPostOrderER’ folder with its content in the WordPress plugins directory.
- Activate on the admin panel’s plugins page.
- Click on Manage, aStickyPostOrderER.
- Click on the name of a category or tag you want to order.
(Those with fewer than two posts are not displayed)
- Posts in that category are listed, each with a text field to the right of it.
- Type a number into that field to make the corresponding post appear in that position relative to existing sorted posts, e.g. 1 to make it appear at the top, if there is already a post assigned to that position the sorted posts will be shifted up.
- To remove a sorted post from the sticky list, send it to position 0 (zero).
- Post that are not sorted will still appear in the default order after the sorted posts on the blog’s front-end.
- Themes that execute their own MySQL queries may not (read ‘probably won’t') show the posts in the sorted order. A good way to test is by using the Default theme and comparing results.
- There were various issues with previous versions that affected especially blogs with content that had been upgraded from earlier versions of WordPress, please use the latest version of the plugin.