• Resolved mattio

    (@mattio)


    Hi, I have a page that I created but everytime I create a new page it adds it to the navbar. In the older version of WP I could click something that says not display in nav or something. What do I do to do this?

    For example I have my website and I dont want to display “Action Audio Pro” neither “VFX Gallery”

    https://www.vfxlobby.com

    All help would be greatly appreciated,

    Thanks,
    Matt

Viewing 5 replies - 1 through 5 (of 5 total)
  • Make either of those pages children of another page. Do this by editing the page and selecting a “Parent page”. It will then remove it from the nav.

    Thread Starter mattio

    (@mattio)

    Thanks for the fast reply.

    But when I do this it changes the permalink to something like /contact-us/vfx-gallery instead of what i want just /vfx-galley. Also it doesn’t remove from the nav. It is still visible. I think maybe if I could make the page private and find somewhere in the code to remove the Private: text as it is displayed when the page is private. Anyone know what part of the code its located in?

    You could edit out the <?php wp_list_pages ?> from the navigation bar so that pages are not automatically displayed, and then manually enter the links to the pages you want displayed.

    Depending on your theme, the code will likely be in the header file or main index template.

    Thread Starter mattio

    (@mattio)

    Thanks for the reply asfodel ??

    So i’ll find that patch of code but could you give me an example of what it would look like in code view. like <?php wp_list_pages ?> then like how would I enter the links manually to the pages I want being displayed?

    Thanks,
    Matt

    Thread Starter mattio

    (@mattio)

    Thanks for all your replies. I just found a page exclusion plugin for WordPress so am using that now. Works really well. Thanks for everything guys ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removing page from the nav menu’ is closed to new replies.