These 5 code snippets provide 5 different ways to display a list of all child pages on their respective parent pages.
The list of child pages is displayed before the sidebar widget area ( or any hook you choose ) and only displays on the parent page.
Here’s an example:
The list of child pages is only displayed on the parent page and not on any child pages.
This tutorial also includes code which generates a shortcode and template tag enabling you to display your list of sub pages in the editor, a text widget or using any WordPress or theme specific hook.
And here’s the code for logged in members:
You need to pay to fully access this tutorial.
Enjoy unlimited access & coding support by registering.