I have this in my sidebar.php file:
<?php wp_list_cats('sort_column=name&children=1&optioncount=1&hierarchical=1'); ?>
The child-categories don’t display in the category list at all, only the parents. What’s wrong here?
Alternatively, if anyone knows of a way to get the Collapsing Category Menu (http://sporkfancier.com/collapsing-category-menus-plugin) to display the post count after each category (a la the optioncount attribute in wp_list_cats), that would be cool too. (This actually displays the parents and children correctly, but I’d like to keep the postcount numbers if at all possible.)
- The topic ‘wp_list_cats: children won’t display in Category list’ is closed to new replies.