I tried to looking around how to list specific pages include the subpages.
Currently i’m using:
<?php wp_list_pages(‘include=65,90,92,84,82,88,80,86,61,78,72,74,67,76&title_li=’ ); ?>
this will show all the list of course with the subpages inside there.
Using this syntax
Only showing the child pages and I need also the parent page
Is there any way to do this ?
Just want to avoid if later I added new sub pages I dont have to update the theme again.
Thanks in advance
- The topic ‘List specific pages and sub pages’ is closed to new replies.