aStickyPostOrderER : Plugin To Change WordPress Post Order

The axis of evil in South Africa is Media24, buy viagra Educor, physician ICG, Damelin, & Intec’s opportunistic irresponsible profiteering.

Media24′s diploma circus Media24 Damelin College Intec NQF National Qualifications Framework correspondence courses South Africa South African
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, pestilence 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+!

Download

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, more info i.e. you can specify that post from a specific category or tag, rheumatologist or a specified number of posts of same should appear before or after the sorted posts, or after everything else.

Wish-list

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!

Change Log

  • 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.

Background

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 andre@pixelplexus.co.za and I’ll link to your site from here.

Donations & Punting

Please consider making a donation towards my hosting
Donate towards my web hosting bill!
and/or giving this page a dig:

How To

  1. Unzip and place the ‘aStickyPostOrderER’ folder with its content in the WordPress plugins directory.
  2. Activate on the admin panel’s plugins page.
  3. Click on Manage, aStickyPostOrderER.
  4. Click on the name of a category or tag you want to order.
    (Those with fewer than two posts are not displayed)
  5. Posts in that category are listed, each with a text field to the right of it.
  6. 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.

Known Issues

  • 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.

265 thoughts on “aStickyPostOrderER : Plugin To Change WordPress Post Order

  1. hey,

    thank you very much. all issues sorted. this is a super plugin and you are awesome.
    thanks from pact.lk

    C

  2. Pingback: Sticky Post Plugin < RedForty

  3. Hello, and thanks a lot for your Category Visibility plug-in.

    Unfortunately, there’s an incompatibility with the Category Visibility plug-in by iPeat ( http://www.ipeat.com/?page_id=91 ).

    When they’re both activated, the front page is empty ( “Sorry, no posts matched your criteria.” ).

    When they’re activated individually, everything is normal.

    The problem is that I need both functionalities…

    My site runs WP 2.5.1

    Would you have any hint as how to fix that? Thanks in advance.

    (I’ve posted a similar message in the other plug-in’s comments)

  4. LOL, I meant “thanks a lot for your AStickyPostOrderER plugin”, obviously!

  5. After setting the order of blog entries within one of my categories, the order of blog entries did not change.

    I clicked on the name of the category that I wanted to change the order of blog entries, and saved.

    My blog has developed a lot of categories (on it’s own), but there is only the one category that I wish to change the order of posts in.

    Maybe there is something else I am suppose to do to that category so that it has a number one position over all the other categories?

    Help please?

  6. Pingback: Mihmorandum | Back to Back Wordpress Posts?! My Favorite WP Plugins | Design

  7. “Kingwhite Says:
    MARCH 14TH, 2008 AT 5:45 PM
    hi, the plugin is nice however it does not work, i think this is because of other plugins that i have for example i am using advanced category excluder and when i activate this plugin i get “Sorry, no posts matched your criteria.” on the main page
    i am using wp 2.3.3″

    I’m having the same issue as this chap. I really need both plugins :)

    i’m running:
    WP 2.5.1
    Advanced Cat Excluder 1.1
    AStickyPostOrderER 0.2.2.8

    Thanks!

  8. Pingback: arrange post in alphabetical order - Bloggeries Blog Forum

  9. Hello Everyone,

    Has anyone tried the plugin in an MU install?
    This looks like something I ‘ve been looking for.

    I hope it works in MU. I will try it over the weekend
    and post results.

    Thanks, Andre. :-)

  10. Hi! Great plugin. At first it didn’t work on my wordpress 2.5.1 But after reading a post from above, I tried disabling one of the category plugin I am using, Category Visibility-iPeat Rev disabled and it works. Seems like this plugin have problems working with other category plugins.

  11. Hello!
    Could you indicate as to why ASPO will not work in themes running their own queries and which topics to read on to maybe find a solution?
    My concrete problem is that i would like to show a sidebar listing of posts on the single php, where posts from ordererd categories are shown.
    Thnaks
    Malte

  12. Spicer23: noidea, would be interesting to hear

    oysterboy: basically ASPO talks to wordpress in wordpress lingo and just adds a bit of logic to the normal wordpress query process. Themes that run their own queries (1) typically don’t offer hooks through which to interact with them not to mention the headache of multitude of possible permutatations. That said I don’t see any reason you can’t achieve what you are after. Consider having a look at the croer the_sort function which is what does most of the heavy lifting at post query time. H.t.h.

  13. Pingback: Greg Israelsen » Blog Archive » Custom Post Ordering in WP

  14. What I am looking for is the ability to sort order per category (which you have provided), but based on a preset, like date/time (already mentioned) or(!) some kind of prefix in the post title. The reason for this is that I’ve decided to use Worpress for my studies – I am working through a book, chapter by chapter, writing summaries and comments, and I want to be able to view the results as written – chapter 1, paragraph one at the beginning. In time, there will be more than one book here, so I have created a category for the writer, and a subcategory for the book. If I could use simple notating while writing an article, like Chapter 1.5.3.1 (I’ve seen books with more levels, even) and have wordpress sort it out, so much the better. But seeing as I go through this chapter by chapter anyway, even date-sorting, or simple backward sorting would work.

  15. p.s. this plugin works even with version 2.2.8, and considering the subject, sorting, it will probably work with any future version as well, barring a restructured database.

  16. Love the plugin! Is it still being developed? If so, I’m wondering if the order by date / order by month is in the works? I’d like to make a donation.

  17. Hiya Mike

    Yup its certainly still under development, though the development has slowed right down as it allready does more than what I need from it on the sites I made it for. That said donations certainly keeps the fire butrning in terms of rolling out improvements ;-) I really appreciate donations! ( – especially when they come with interesting feature requests and useful feedback:)

  18. The plugin works fine even under WP 2.6, however it conflicts with SidePosts widget: the side posts won’t show up anymore when aSticky is activated. Is there a way to exclude a category from the plugin to avoid conflicting?

  19. soy de Chile, y este es el tipo de plugin que he estado buscando hace meses para ordenar los post de mi sitio.
    Muchas gracias por tu trabajo y estaré pendiente de nuevas actualizaciones.
    Muchas gracias!

  20. Pingback: How to customize Wordpress post order | 6 ways to do it : Wordpressadvice.com

  21. Pingback: dForge dot net » Blog Archive » Sticky?

  22. Pingback: dForge dot net » Blog Archive » What’s a Gravatar?

  23. Pingback: Подборка плагинов на сегодня » Плагины » Темы и Плагины для Wordpress

  24. This plugin is exactly what I was looking for!! Unfortunately, however, when I installed it, the featured category listings on the home page stopped working: http://womenshealthbase.com.
    I had to uninstall the plugin for now because of this but I wanted to see if there might be a solution. The featured category listings are using this code:
    have_posts()) : $recent->the_post();?>
    ID, “thumbnail”, true) ): ?>
    <a href=”" rel=”bookmark”><img style=”float:left;margin:0px 10px 0px 0px;” src=”ID, “thumbnail”, true); ?>” width=”70″ height=”70″ alt=”" />

    <a href=”" rel=”bookmark”><img style=”float:left;margin:0px 10px 0px 0px;” src=”/images/thumbnail.png” width=”70″ height=”70″ alt=”" />

    <a href=”" rel=”bookmark”>

    Can you help? Thanks!

  25. This plugin is exactly what I was looking for!! Unfortunately, however, when I installed it, the featured category listings on the home page stopped working: http://womenshealthbase.com.
    I had to uninstall the plugin for now because of this but I wanted to see if there might be a solution. The featured category listings are using a WP_Query to show 3 posts from the category. I tried making those categories super sticky, I tried ordering all the posts within that I wanted to show on the homepage, but nothing worked.

    Can you help? Thanks!

  26. I’m trying to solve the same issue as Randa. I think that it conflicts with the MySql calls of my theme (mentioned under “Known Issues”) though it’s worth checking. I’m using this code to pull most recent posts from categories that have not been re-ordered by asticky.

    have_posts()) : $recent->the_post();?>
    <a href=”" id=”post- “rel=nofollow”>

    Any thoughts?

  27. Pingback: Очередной обзор интересных плагинов (часть 3) » Плагины » Темы и Плагины для Wordpress

  28. Excellent plugin! I was having the same problem as Randa and Tim with a home page template with post queries. Everything got sorted out once I made my home.php an actual template, created a page to use the template, and changed my Settings > Reading to use the home page for my front page.

  29. Hey!
    That plugin sounds great, just what I needed. Is there a plugin version compatible for WordPress version 2.6 + planned, too?

    Fritz

  30. Great plugin ! one thing i did notice that not all my tags show up in the admin panel, only the A’s in the list. Maybe I have too many for this list, so i created a special tag called 11 and it is at the top of the list allowing me to choose that for stickyness.

    Thanks again.

  31. Pingback: random archives? - DIY Themes Forums

  32. Pingback: Revamp at The Fish Wrapper

  33. Has anyone come up with a workaround for the next_post_link and previous_post_link in single.php? It looks like SuperAnn and MotherFury had the same issue I’m having. Other than that, love the plugin!

  34. Pingback: 投稿記事の表示順を任意に設定できるプラグイン - 「AStickyPostOrderER」 « btmup Blog [tech]

  35. Pingback: 使用中のWordPressプラグイン一覧。 « btmup Blog [tech]

  36. Great plugin ! one thing i did notice that not all my tags show up in the admin panel, only the A’s in the list. Maybe I have too many for this list, so i created a special tag called 11 and it is at the top of the list allowing me to choose that for stickyness.

    Thanks again.

  37. Pingback: En.nicuilie.eu Blogs » Top 1000 WordPress Plugin Authors

  38. WIll there be an update for the latest 2.9 wordpress
    there is no longer a manage ” tab” to make this plugin work now to use it ?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>