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.