I want to display only the those parent category name and with their child category..
Example category
AAAAA,BBBB,CCCCC,DDDDD
Parent category AAAAA
having child category a,b,c
Parent category BBBB
having child category x,y,z
Now I wan开发者_StackOverflow社区t to display only (Result required)
AAAAA
a,b,c
BBBB
x,y,z
Please help me...
If CCCCC's id is 17 and DDDDD id is 38, then the following example would work.
<ul>
<?php wp_list_pages('exclude=17,38' ); ?>
</ul>
精彩评论