• Resolved pfitchett

    (@pfitchett)


    I am wanting to add a page to my site that is not to show in the menu – but will only be presented from a manually coded link. When I create a new page, the parent and order attributes are forcing the page into an existing menu tree, or a new top-level menu – neither of which I want.
    I have stared looking around through wp_nav_menu and Walker_Nav_Menu, and am hoping that someone can help my learning by pointing me in the right direction with a few clues

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • i am not exactly sure what you mean with your question but you can directly remove a page from Appearance >> Menus . Delete the page and re-save menu.

    but you can also hide the page from the menu, by first inspecting the menu item with firebug or other tool. when you are sure about the id and class of the menu item, you can add the following code at the end of your themes style.css file.

    …menu-item…..{
    display: none;
    }

    Thread Starter pfitchett

    (@pfitchett)

    CSS – of course! Obvious & simple; and I am so busy looking for a more difficult solution, that I didn’t think of that. I’ll do it that way; many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wanting non-menu new page’ is closed to new replies.