Is there a way to list the parent category with the child categories? I am currently trying to create a sidebar that looks something like this:
Child Cat 1
Child Cat 2
Child Cat 3
However I can only find listing codes that either list the parent category or the children.
<?php wp_list_categories('use_desc_for_title=0&child_of=24'); ?>
The code above I’m using I tried adding include=24& but that did nothing, also how do I get rid of the title ‘categories’ I tried the usual title=li but that didn’t work either.
Any help appreciated, thankyou!
- The topic ‘List parent category with child categories?’ is closed to new replies.