How to sort categories by number of posts in wordpress
Posted: Thu Feb 06, 2014 9:10 am
I'm using this syntax for ordering categories by the number of posts in each categories.
Still it's not working.. It shows the categories ordered alphabetically. Please help me!
You can check it here on the sidebar
http://www.primobazaar.com/
Code: Select all
<?php wp_list_categories('title_li=&show_count=1&child_of=3&number=5&orderby=count'); ?>You can check it here on the sidebar
http://www.primobazaar.com/