Child Pages & Using a Dynamic Sidebar
-
I have a question regarding making a dynamic sidebar that changes based on the page you are on.
This is a sample of the site structure using Parent/Child pages:
About
-Intro
-Mission
-Staff
Services
-service1
-service2I am using the ‘Pages’ sidebar widget to display the page links…
What I would like to do is customize the PHP code in the sidebar so that the About page (or any children pages) have only the about page links. Alternatively, the Services page (and children) would display the Services page links.
Any suggestions? I assume there are a few ways to do this, but I’d like to find a solution that will dynamically pull in all the child links for each section.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Child Pages & Using a Dynamic Sidebar’ is closed to new replies.