wp_list_categories include parent
-
I have the following structure:
– Fruit
– – Apples
– – Pears
– – Orangesand I want to list all of these in a unordered list but when I use the following:
<?php wp_list_categories('orderby=id¤t_category=0&use_desc_for_title=0&title_li&child_of=32'); ?>
The children are listed but the parent isn’t.
Is there a way to include the parent in the list as well? E.g.
<ul> <li>Fruit</li> <li>Apples</li> <li>Pears</li> <li>Oranges</li> </ul>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_list_categories include parent’ is closed to new replies.