Re: Sticky By Category
I believe that this is the case with the script plugin that is being used for here and for all stickies in Wordpress, but I think a plugin is very feasible through the custom fields.
Take a look at this:
http://e.juuble.com/lovelycolors/category/events/
All of my post are based on an events script where I use the custom field to describe the event. So the order is created by the custom field ( which are the dates ) and not the order of when a post is published.
Also, there is a secondary php statement that the field is void if it is less than today's date ( 20080602 = June 2, 2008 is LESS than 20080705 = July 5th, 2008 today's date ). So any date less than July 5th will not be shown in the category.php section. For all other posts that show up and don't have any dates, they are ordered after the date posts.
I think a sticky can be done in the same fashion by giving the sticky a number based on a category ( such as 1,2,3,4 etc. ), so when that category is called, one can make an if...else statement to order the post by the number, then order the post for all other things in the category.
I don't think it would be hard, but I do think there would be a little more work on the user-end side if they post to multiple categories.
So let me end it with my thoughts compacted:
1. If...then statements can be made to order posts by numbers
2. php function can also order posts by default after the number post fields are ordered ( so "sticky" then "non-sticky")
3. This function can be placed in a specific category or sub-category ( hard-coded in the theme above, but worth it I would surmise ).
4. A form can have a box to represent the custom field ( If I type in 1 in the box ) and can correspond to either the category chosen, and/or create a button to add a sticky to the main page ( which could be its own category ).
5. The numbers only affect the category they are in, not any other category ( as you see with lovelycolors ).
I think I went overboard, and that this post probably belongs in a Leter Chan forum. But I posted the article above because it made so much sense on organizing feature posts for any Wordpress module, and not just for Classipress.
Anyone want to collaborate?