• Resolved mertens

    (@mertens)


    hello everybody

    in a blog i did in wp 2.5 i had a lot of child pages which would not show up in the navbar/menu.

    i recently set up a new blog and installed wp 2.7. somehow the parent/child function seems to work differently now. when i assign a page to become a child page, it also shows up in the navbar… i don;t want that to happen, but i can;t find out what i’m doing wrong. does anyone know how to do it right, or is it a bug in 2.7?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • MichaelH

    (@michaelh)

    The template tag, wp_list_pages(), is typically used by theme designers to display Pages in a nav bar. With the help of the Template Hierarchy article, determine what Template is displaying your Pages (probably header.php), then look are wp_list_pages and consider adding the depth=1 to show only top level Pages.

    If that fails, you will need to provide a link to download your theme, or paste the template code in a pastebin and report the link back here.

    Thread Starter mertens

    (@mertens)

    MichaelH,

    That did the trick, thanks you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘parent / child troubles in 2.71’ is closed to new replies.