Hi guys, On my blog, I recently noticed something, that I would like to change. At the top, when you hover over Finance, Internet Business, Miscellaneous, SEO, and Contests, subtopics open. For some reason, these subtopics are NOT in alphabetical order. Does this have to do with my CSS? If so, what do I change to make these appear in alphabetical order? Thanks
LOL, absolutely NOT css. CSS only has to do with how the site looks, its colors, the font, its width etc.
Just add order number to your post like if you want subtopic1 to appear first than enter 1 and if you want subtopic2 to apper after it than enter odrder number 2. Thats it
Eek. I was so sure I was wrong -- I just didn't know where to post this Sorry, I don't see how it has to do with posts though. I went to the Category section, and see no option for ordering categories.
Yeah i just checked, well you will have to use plugin to resolve this issue. try this plugin http://wordpress.org/extend/plugins/my-category-order/
That plugin made the categories go in the order I specified, but only within my admin panel. Users visiting my blog still see them in the same order as before. Dang! I think this has to do with some .php editing.
ahh i think it doesnt works with latest wordpress version 2.8.3! read this topic http://wordpress.org/support/topic/296980
my category plugin can also do what u want but if u want to do it manually then use this code. <?php wp_list_categories('orderby=name&include=3,5,9,16'); ?> include=3,5,9 means u can add category number for including in the list and if u want to exclude then same code will work but replace include with exclude.
yes..find this <div class="categories"> </div> in header.php.. replace the existing one with this one. <?php wp_list_categories('orderby=name&include=3,5,9,16'); ?>
When I replace <?php fs_list_categories(0, get_cat_ID(fs_settings('featured_name'))); ?> with <?php wp_list_categories('orderby=name&include=3,5,9,16'); ?> This is what happens: It should look like this:
Could you post your currently used navigation part (from header.php) that includes div and other elements around it? The code I gave you should sort out the categories alphabatically (both, parent and children) and list them without any 'heading'.
Sure! </div> <div class="categories"> <?php fs_list_categories(0, get_cat_ID(fs_settings('featured_name'))); ?> </div> </div> <!-- END header -->
Replace that code with this: </div> <div class="categories"> <ul> <?php wp_list_categories('orderby=name&title_li='); ?> </ul> </div> </div> <!-- END header --> Code (markup):
Thanks a million. Worked perfectly. I'm sure this will help a lot of others, as I've seen many have this problem. Rep +