Hi, how do I display a list of Parent categories ONLY! and Then when I am looking at one of the parent categories page, below that list, another list of the child categories will appear that are related to that parent category?
This is what I have so far:
<?php wp_list_categories('orderby=name&hide_empty=0&exclude=1&title_li=&depth=1'); ?>
And what I want to happen is if I visit /category/design/ then a list below the one generated above will then show all the child categories of the parent category design.
- The topic ‘Display List of Categories’ is closed to new replies.