Show Child Pages on Parent Page

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:

sub-pages

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:

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.