Displaying Categories with specific parents
I am wanting to to display in another location on my sidebar, categories that have a specific parent. For example all categories that are assigned to the “2006-2007” category.
How do I specify this? I got this far, but it doesnt work…
Any help >
<?php if (function_exists('wp_list_categories')) wp_list_categories('title_li=&show_count=1&child_of="2006-7'); else wp_list_cats('optioncount=1'); ?>
- The topic ‘Displaying Categories with specific parents’ is closed to new replies.