Hiding child pages till parent is clicked on
How do I make it so the sidebar on my WordPress only shows the child pages when the parent page is being viewed?
So, for example, pretend I was viewing my homepage and my site is about countries, on my sidebar it would show:
Then a visitor clicks the Asia link, and once the visitor reaches the Asia page the sidebar then shows:
- The topic ‘Hiding child pages till parent is clicked on’ is closed to new replies.