WP Smart Sort

Introduction

WP Smart Sort allow for advanced sorting of posts in your blog. The administrator can choose to include any field from the wp_posts table to sort by, any custom field and additionally can identify where a field is numeric or not (defaults to text).

The default sort direction for your blog can be changed to any of the chosen field either Ascending or Descending. “Sort By” widget enables your users to select from a drop down box which direction they wish to sort posts by. Demo site over at Smart Sort Demo

For additional functionality for you blog including sort, filtering and advanced search of posts across your blog checkout out WP Smart Sort Premium.

Implementation

This plugin allows you to place a selectbox, 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.

Use the sort widget:  add the widget from WP admin’s widget page.

Or place the following anywhere in your template:

‹?php if (class_exists('WP_Smart_Sort')) {
$wpss = new WP_Smart_Sort();
if (method_exists($wpss,'placesort')) {
$wpss->placesort();
}
} ?›

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

This project is hosted with WordPress Extend for downloading.

Latest Version 2.1.2:

Enjoy it.

Features:

  • Pretty permalink URLs
  • Customize display of sort bar
  • Fixed compatibility with most other plugins. Working with Super Cache
  • Functional with all WP contexts eg archives, tag, categories etc.

Comments are closed please use the DyasonHat Coding Forums for all comments and communication, Thanks!

Version History:

2.1.2 (6 Mar 09)

  • Fixed pages dissapearing in the admin screen.
  • Fixed posts repeating themselves.

2.1.1

  • Fixed viewing individual tag pages bug.

2.1.0

  • Admin UI upgraded to 2.7 style
  • Support for all permalink varieties including default eg ?cat=4
  • Set default sort direction for individual category pages.
  • Fixed bug with static pages dissapearing with plugin activation.
  • Updated readme.txt

2.0.2

  • Fixed Safari down down menu not working.

2.0

  • Complete rewrite of code engine and user backend.

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

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