Title: Dynamic Children Menu
Last modified: August 19, 2016

---

# Dynamic Children Menu

 *  [pgapepper](https://wordpress.org/support/users/pgapepper/)
 * (@pgapepper)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/dynamic-children-menu/)
 * I’ve been banging my head against the wall on this one for too many hours to 
   count. I’ve tried nearly every variation of each argument using wp_list_pages
   and plenty of other code snippets floating around out there. I’m not a php guru
   by any means and just need a little push in the right direction. What I’m trying
   to do is this:
 * My site is subdivided into 3 main sections; Church, School, & Daycare.
 * Within each section, I would like to display the 1st level children of that section(
   no grandchildren), regardless of what page you are on within that section. The
   only way I can think to do this is to query the loop for the current top-level
   page of the section and display all child pages of that page. Because we are 
   using just 1 wordpress install for all of this, I can’t explicitly include/exclude
   or it will show the same pages across all sections.
 * Church
    About Contact Etc. School About Contact Etc. Daycare About Contact Etc.
 * This site is currently sandboxed at trinity.versiostudios.com if you’d like to
   take a look to help visualize what I’m trying to do.
 * Thanks in advance for any and all help.

The topic ‘Dynamic Children Menu’ is closed to new replies.

## Tags

 * [child pages](https://wordpress.org/support/topic-tag/child-pages/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [pages](https://wordpress.org/support/topic-tag/pages/)
 * [query](https://wordpress.org/support/topic-tag/query/)

 * 0 replies
 * 1 participant
 * Last reply from: [pgapepper](https://wordpress.org/support/users/pgapepper/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/dynamic-children-menu/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
