FINAL UPDATE: The official page for WP Smart Sort has moved here.

This plugin allows you to place a sort bar, with options to sort the list of posts by any custom field. You can place the sort bar above or below a list of posts in a category or archive or anywhere in your template.

Simple place <?php placesort() ?> anywhere in your template.

Options are set in the admin panel as to which custom fields to display in the sort bar.

This was originally coded by smartalien on scriptlance. He no longer develops it and I purchased the code from him. It works but I put it out there to be used and improved by the wordpress community.

There may be bugs; if you can’t fix them point them out, if you can send us the code fix.

This project is hosted with Google Code here

Latest Version 1.0:

Download Smart Sort Version 1.o

Enjoy it.

To Do list:

  • More pretty permalink URL
  • CSS/HTML output options to customize display of sort bar
  • Fix compatability with other plugins
  • Display on main index page (currently only seems to be displaying on category and archive pages
  • Tagging support

Version History:

1.0

  • First Release
  • A bit “buggey” but it works
  • Waiting feedback on requests, issues and ideas
  • Planned rapid deployment of 1.1 to tackle known bugs
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Tagged with:
 

11 Responses to “Smart Sort Wordpress Plugin – Sort posts by Custom Field”

  1. ekowanz says:

    this what i’m looking for….thx bro for released it

  2. Hey this is really great! I’ve been looking for something I can sort newest to oldest or oldest to newest.
    I am having a problem getting mine to show however. No category selector is showing up even though I have configured the options and have put the code snippit in my sidebar.
    Is there an live example I can see?
    Here’s mine: http://www.williambay.com/thailand

    Only thing I can think of is that I’m running 2.1.2.

    Thanks for help in advance.

    William Bay

  3. admin says:

    Hi William,

    2.1.2 shouldn’t be a problem I’m running the same version.

    Just to clarify you wouldn’t see a category “selector”, after placing the < ?php placesort ?> in your template it would show a link Category a-z which allows you to sort the page you’re viewing based on the name of the categories associated with each post. It seems that the sort bar doesn’t show in the sidebar will add that to the bug fix list for the next version.

    I’ve placed a working version on my site now, you can see it on any of the category pages.

    Its probably best to place the code snippet in your Main Index, Category and Archive templates around where is says < ?php while (have_posts()) : the_post(); ?> I’ve placed it above that line.

  4. mbd says:

    Oh thanks for this plugin. Greatly..

  5. Steve Bruner says:

    Is it possible to make this work with Tags instead of Categories?

    Thanks
    Stev

  6. admin says:

    Hi Stev,

    Nice idea, will add it to the todo list, waiting for a stable wordpress 2.5 to start reworking this plugin.

  7. ipaulpro says:

    How do I get this plugin to work???

    Is it compatible with 2.5.1??

    Does it work on the main index?

    Is there an alternative out there?

    - Thanks

  8. Does not work for me, I’m using WP 2.6.2 :(

  9. Tschai says:

    Neither for me, also WP 2.6.2 locally, with all themes.

    Any chance for an update?

  10. Jay Robinson says:

    The project is hosted on Google Code, but it seems as if no one is contributing to it. Furthermore, it is unclear whether anyone can *join* the project, as Dyasonhat would have to add you manually.

    It is a shame, as this seems like a promising plugin!




Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Simpler Computing - Wordpress Plugins - Help Desk Plugin