Tweaking wp_list_pages child_of
-
Hi,
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.
??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Tweaking wp_list_pages child_of’ is closed to new replies.