[Resolved] How to NOT list child pages in wp_list_pages()
I’m trying to disable listing child-pages in wp_list_pages() for the header of my site. I’m using the Corodobo Green Park theme. The section of code with this in it is:
<div id="single_post_right"> <div id="single_post_left"> <ul id="navlist"><li class="page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li><?php wp_list_pages('title_li='); ?></ul> </div> </div>
Anyway, I know I can manually disable specific pages, but I’d like the process to be dynamic so I don’t have to edit the template for every new child.
What can I do?
- The topic ‘[Resolved] How to NOT list child pages in wp_list_pages()’ is closed to new replies.