I need a custom plugin for a WordPress 2.2 site I' am planning to start.
The plugin i need to be written is the following:
I want in archives to be able to short all posts by some criteria other than the default "by_date".
So i want every time a visitor clicks on a category name, the list of posts appear by_date as it works normally, but an extra horizontal menu will appear (by this plugin) just below the results page top title, to give visitors the ability to sort posts: by_title (alphabetically - asc, desc), by_number_of_comments (asc, desc), by_any_custom_key (that i can put by myself in post's custom fields, asc, desc)
So for example i would like the menu look like:
Sort posts by: Date (a/d), Title (a/d), Comments (a/d), Custom_Key1 (a/d), Custom_Key2 (a/d) .....etc
(a/d means ASC/DESC)
I expect the plugin works with pagination so visitors can maintain the sorting order as they navigate between pages of archived posts.
Finally, i want to have full copyrights of this plugin.