I need a custom plugin for a WordPress 2.2 site I' am planning to start.
The plugin description is the following:
I want in posts archives to be able to short all posts by some criteria different than the default [by_date].
So every time a visitor clicks on a category name, the list of posts will appear sorted [by_date] as it is by default, 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)
I also want to manage which post custom fields appear in the Sort By horizontal menu from a tab in the back-end WordPress Administration Panel.
This back-end area should enable me to choose from a list of existing post custom keys
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 are links and mean 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.