• Hi! I would like to hide a page from the main menu by excluding it directly from the php code.
    But I have not found the code

    <? php wp_list_pages (‘title_li = & depth = 2 & sort_column = menu_order’);?>

    in header.php.

    Can anyone help me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you using a custom menu? That lets you control what shows up in the menu –

    https://codex.www.ads-software.com/WordPress_Menu_User_Guide

    Hello,

    I have a menu, with under-categories, as on this page above : “support” gives access to “forums” and “documentation”
    I would like people not to be able to click on “support” (or, if they click on it, they stay on the same page), the only thing to do to move to another page would be to click on “forums” or on “documentation”.
    This way, I won’t have to add a useless page.

    But I can’t find where to change it in the options….

    Could you help me?

    Thanks !!

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