• hi all,

    i recently ran into this problem on my site, using the “simplr” theme, in which the sub-pages to a particular parent page are showing up in the site map thing above the header of the website. i may be describing that poorly, but if you go here:

    https://www.ensemble303.com/

    you will see, at the top, that the parent page “media” is followed by two of its child pages, “audio,” and “visual” in that site map thing above the header (or perhaps it is part of the header…im not sure, honestly). i dont want child pages/sub-pages (whatever you call them) to ever be visible in that thing up there, just the main pages…the problem, though, is that im not sure how to disable that function. does anyone know how to solve this? its driving me crazy, and im not getting anywhere by just blindly digging through the theme editor.

    casey

Viewing 3 replies - 1 through 3 (of 3 total)
  • First of all, I hope you are talking about the Menu..
    Second, When I visited the site, I saw only “media” which is parent by what you said…

    Third , If the menu is what you are talking about, AND if those are PAGES and not categories, you need to use this :
    <?php wp_list_pages( $args ); ?> /*** one ofyour arg will be depth=1

    read here :

    If categories is what you need, it is much the same .
    Read Here :

    Those functions need to be placed at your theme files, at the header

    First of all, I hope you are talking about the Menu..
    Second, When I visited the site, I saw only “media” which is parent by what you said…

    Third , If the menu is what you are talking about, AND if those are PAGES and not categories, you need to use this :
    <?php wp_list_pages( $args ); ?> /*** one of your arg will be depth=1

    read here :

    If categories is what you need, it is much the same .
    Read Here :

    Those functions need to be placed at your theme files, at the header

    Thread Starter caseythomasanderson

    (@caseythomasanderson)

    right, i actually fixed it a few hours after posting this. yes, i meant “menu.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘sub-pages showing up in menu bar…’ is closed to new replies.