Parent Page only in Sidebar
I have searched the forum but most people are asking how to have the child pages only showing in the side bar, whereas I want the parent pages only to show.
I did find a link that went to the codex but I didn’t understand any of the content. Is there a simple coding which will let me have the parent pages showing, but not the child pages?
This coding brings up all the pages:
<?php wp_list_pages(‘title_li=’); ?>
What should I add to this so that only the parent pages show up?
I’d be grateful for easy to understand instructions please.
- The topic ‘Parent Page only in Sidebar’ is closed to new replies.