• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

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:

Register for full access

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.