See the parameters for the wp_list_categories on this page:
http://codex.wordpress.org/Template_Tags/wp_list_categories
You should be able to order by count.
Thread Starter
prb11
(@prb11)
Thanks, I will take a look at it.
While on the topic of Categories, I have been reading quite a bit and cant get my head around what is better to use, Categories, Tags or both and what the real difference is between them? If using Tags in place of Categories can you have them showing on a site in the same way Categories do?
Hey PRB11,
Great question. Take a look at these and see if they help:
Thread Starter
prb11
(@prb11)
Ok, so I use a modified version of the default theme. How do I go about showing my tags at the bottom of a post in the same way I currently show the Categories?
Is it possible or easy to transfer categories from previous posts over to tags or would I need to go through individual posts and edit them all manually?
I think you’ll find your answer under Tag tags on this page:
http://codex.wordpress.org/Template_Tags
Thread Starter
prb11
(@prb11)
I’m trying to sort my categories so that the ones with the most posts are at the top.
I used this code in the sidebar:
<?php wp_list_cats(‘sort_column=count&orderby=DESC&optioncount=1&hierarchical=0’); ?>
I have tried DESC and ASC but for some reason the categories with the most posts remain at the bottom? What am I missing?
Thread Starter
prb11
(@prb11)
I think you’ll find your answer under Tag tags on this page:
http://codex.wordpress.org/Template_Tags
I tried that link but it doesn’t make it too clear for me as to what code I need to put where to show the tags at the bottom of the post as well as the category used and also how to show a list of the tags used on a seperate page.