Forums

Sub-pages listed ONLY on Parent pages? (4 posts)

  1. loulantos
    Member
    Posted 2 years ago #

    Hi,

    I've been looking for a plugin that does this, and apparently there are a few, but I've yet to find one:

    I need something that will display sub-pages ONLY on a parent pages. So, for example, the parent page is FOOD and the sub-pages for FOOD are MILK, BREAD, EGGS I only want MILK, BREAD, EGGS to appear when someone accesses FOOD. If they're on another page those sub-pages (the whole navigation menu, infact) should be hidden.

    If this could happen in a widget that would be perfection. Anyone know of something that does the trick?

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    Check out some of the examples in the wp_list_pages article.

  3. loulantos
    Member
    Posted 2 years ago #

    Hi there,

    Thank you very much for the link, but I'm not sure what I'm looking for?

    I'm not very knowledgeable with WordPress :(

  4. MichaelH
    Volunteer
    Posted 2 years ago #

    Ah, then you will want to review the following articles to learn about Templates and how WordPress uses those Templates to display various parts of your blog.

    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

Topic Closed

This topic has been closed to new replies.

About this Topic