WordPress.org

Ready to get started?Download WordPress

Forums

Hiding child pages till parent is clicked on (2 posts)

  1. k0shyX
    Member
    Posted 6 years ago #

    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:

    Asia
    Africa
    Americas

    Then a visitor clicks the Asia link, and once the visitor reaches the Asia page the sidebar then shows:

    Asia
    --India
    --China
    --Japan
    Africa
    Americas

  2. k0shyX
    Member
    Posted 6 years ago #

    So no one knows?

    EDIT: Never mind, I searched Google and found a bunch of widgets that can do this, such as Flexi Pages

Topic Closed

This topic has been closed to new replies.

About this Topic