1. I’m tring to list categories in my header. But i don’t want to show child categories and at the same time i want
to show empty categories, since are parents to other categories. If i use “include” or “exclude” parameters it doesn’t show empty categories. I tried “hide-empty=0”, doesn’t work.
2.Suppose I have the categories:
I have a template for Activities where i want to list child categories links with description. I tried this:
‘<?php wp_list_categories(‘include=5&title_li=’); ?>
<?php echo category_description(5); ?>
<?php wp_list_categories(‘include=6&title_li=’); ?>
<?php echo category_description(6); ?>’
where 5 and 6 are the “Summer” & “Winter” category ids. But instead of the category name it only shows flat “No categories”
Any help is very much appreciated, Victor
- The topic ‘wp_list_categories’ is closed to new replies.