I’ve created a site with a large footer that also acts as a sitemap with links to all the pages, I’ve added;
<ul> <?php wp_list_pages('child_of=431&title_li='); ?> </ul>
This gives the appropriate child of pages, but how do I include the parent page?
<ul> <?php wp_list_pages('include=431&child_of=431&title_li='); ?> </ul>
which gives the parent page but ignores the &child_of call.
Any suggestions welcome.
- The topic ‘Tweaking wp_list_pages child_of’ is closed to new replies.