i want to add the sub category list in each category
here is my code
<?php wp_list_cats(‘hide_empty=0&child_of=XXX’); ?>
i get the category from the_category_ID()
and how can i put the ID vaule into child_of
or have to use the if else to rolve this problem?
- The topic ‘how to display the sub_categories’ is closed to new replies.