Menu management

Information

  • By default newly created pages are not automatically added to a menu in WordPress. It is therefore up to the webmaster to add them manually.
  • The EPFL theme has several locations for the menu. However, you must use the menu entitled Main (fr) (Primary) Français or the Main Menu Français.
  • There is one menu per language. Thus for multilingual sites, when editing it is necessary to regularly switch menus, as the editing of the menu in one language is not reported in the other language.

Select the menu to be edited

In Edit mode, WordPress displays only one menu at a time. Depending on the changes to be made, you will have to start by selecting a menu. Selecting one menu over another has no effect on its visibility.

If the currently active menu is the one you want to edit you can skip this item and go directly to the Edit Menu section.

  1. From the WordPress Main Navigation menu, choose Appearance > Menu
  2. In Select the menu to edit drop-down menu, choose the menu to edit
  3. Click on the Select button

Editing a menu

Adding a page to the menu

  1. From the WordPress Main Navigation menu, select Appearance > Menu.
  2. If necessary, click the Pages section and check the box next to the page you want to add.
    Note: You can check several pages
  3. Click the Add to Menu button. The page appears at the bottom of the menu
  4. If necessary, move the page vertically to change the menu order.
    1. During this manipulation, if you move one item (Page A) on another (Page B) and release the mouse, the moved item (Page A) becomes a sub-item of the other (Page B)
    2. To change the item order without changing the hierarchy, drag the item between two item
  5. Click Save Menu

Adding a post to the menu

  1. From the WordPress Main Navigation menu, select Appearance > Menu.
  2. If necessary, click the Posts section and check the box next to the post you want to add.
    Note: You can check several posts
  3. Click the Add to Menu button. The post appears at the bottom of the menu
  4. If necessary, move the post vertically to change the menu order.
    1. During this manipulation, if you move a post (Page A) on another (Page B) and release the mouse, the moved page (Page A) becomes a subpage of the other (Page B)
    2. To change the page order without changing the hierarchy, drag the page between two pages
  5. Click Save Menu

Adding a custom link to the menu

To add a link to a page that is not on your site

  1. From the WordPress Main Navigation menu, choose Appearance > Menu.
  2. If necessary, click the Custom Links section.
  3. In the URL field, type or paste the link address.
  4. In the Link Text field, type the text that will appear in the menu
  5. Click the Add to Menu button
  6. If necessary, move the link vertically to change the menu order
    Click Save Menu.

Adding a category

To add a page that shows all items in the selected category

  1. From the WordPress Main Navigation menu, choose Appearance > Menu.
  2. If necessary, click on the Categories section and check the box next to the item you want to add.
    Note: You can check several categories
  3. Click the Add to Menu button. The category appears at the bottom of the menu
  4. If necessary, move the category vertically to change the menu order
  5. Click Save Menu.

Editing a menu item

  • Change the title of an element
    Click on the small black triangle to the right of the menu and change the text in the Navigation title field. Then click on Save menu
  • Move a menu item.
    In addition to drag&drop actions, you can change the menu order by taking the following steps:
    Click on the small black triangle to the right of the menu then click on one of the links next to the word Move. Then click on Save menu

Deleting a menu item

This operation only removes an item, it does not delete a page, a post or a category. Removed items remains always available, for example if they are linked to or if you communicate the URL by e-mail.

  1. Click on the small black triangle to the right of the menu
  2. Click Remove
  3. Click Save Menu.