wp_list_cats and optioncount – simple question
-
Hello
I’m trying to modify the blix theme, so for categories, it displays the number of articles
e.g.
uncategorized (10)
politics (5)I’m a php/css noob, but I gather that
<?php wp_list_cats('sort_column=name&hide_empty=0); ?>
should be modified to:
<?php wp_list_cats('sort_column=name&hide_empty=0&optioncount=1'); ?>
But when I do this, the display is not formatted properly as such:
uncategorized
(10)
politics
(5)Is this a css thing? Any help would be appreciated
thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wp_list_cats and optioncount – simple question’ is closed to new replies.