displaying subpages dynamically
-
i’ve been searching for the forums for a while and i’ve not found a post/response to the following situation:
i’ve created pages in a heirarchy, with subpages. on each page parent AND subpage i want to display a list of the subpages under the parent page when i’m on either the parent or subpage.
so say the navigation is this:
HOME
ABOUT
– management
– advisors
– contact
COMPANY
SERVICES
– service1
– service2
– service3so, when you’re on ABOUT or any of the children of the about page, you’d see
ABOUT
– management
– advisors
– contactin the sidebar, and similarly the same idea when you’re on SERVICES.
it seems easy, but for the life of me, i can’t figure it out. if it’s posts and categories instead of pages, doing something with wp_list_cats would probably work, but this is pages.
ideas? solutions?
- The topic ‘displaying subpages dynamically’ is closed to new replies.