Support » Fixing WordPress » Parent / Child Secondary Nav Links

  • The best example I found is this page:
    http://2ammedia.co.uk/search-engine-optimisation-seo

    The Parent Page is ‘SEO’ and it is showing on the left ‘SEO’ as active page and also lists it’s child pages.

    I can get my child pages to list in my sidebar, but can’t get it to show the current parent page, too.

    So basically right now I’m getting everything in my sidebar accept what is ‘SEO’ on their page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi dmt,
    I am not sure i understand want to want . Do you to appears the content of the parent page in the child pages?

    In this case you could try with:
    <?php get_page( $page_id ) ?>

    I just need the parent page to show in the menu in the sidebar. I can pull child links automatically, but can’t get it to show the parent page link as well on the side.

    EXAMPLE:

    MAIN NAVIGATION: HOME PARENT1 PARENT2

    SIDEBAR NAVIGATION:
    (What I want) PARENT1 CHILDofPARENT1 CHILDofPARENT1

    (Currently I can only get) CHILDofPARENT1 CHILDofPARENT1 (no parent)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parent / Child Secondary Nav Links’ is closed to new replies.