• Resolved addblog

    (@addblog)


    When I set up my pages, some pages have children

    A
    B – B1, B2, B3 (this means page B has child pages B1 B2 B3)
    C

    Then when I set up my menu, the hierarchy is set up the same as the pages. This means I have menu items A, B, C, and B is a sub menu with B1 B2 B3 sub menu items.

    This seems redundant but I wasn’t sure the right way to control the menu.

    Now there is a problem. Menu item B should not navigate anywhere; it is simply to serve up a sub-menu. But my current site will navigate to page B. If I delete page B, would that fix the problem? What would happen to page B’s child B1 B2 B3?

    I’m afraid to delete page B, so I mark it private but that’s probably not the correct solution.

    What is the solution and what is the purpose of page hierarchy?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Only create pages that you want to show. The menu defaults to the page hierarchy, but it does not have to follow it. You can put a category into your menu, or a custom link, or a placeholder (no navigation).
    People make child pages for different reasons. One is the URL shows both the parent and the child slugs. Another is that it’s just a way to group similar pages, since pages don’t have taxonomies.
    If you have a placeholder in your menu, maybe that really should be a page with all of its child pages on it, instead of broken into several pages with different URLs. You can paginate any page, meaning that you put <!--nextpage--> where you want a page break and WordPress will use the same URL with a number on the end to subsequent pages.

    Thread Starter addblog

    (@addblog)

    Thanks to your keyword tip, I learned how to create a placeholder menu item. There should be a clearer way to create a placeholder than typing a # in the link. End of gripe.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page hierarchy vs Menu hierarchy?’ is closed to new replies.