Menu items can be added to the Main navigation and Footer menu in two main ways.
To add menu items, view and edit existing menus, hover over Structure in the Admin menu then click on Menus. This will take you to a page displaying all the Menus that exist on a site.
Depending on your level of access, you can delete an entire menu from this page. Clicking on the Edit menu button for any menu listed will take you to a page where menu items can be:
Added - by clicking the +Add link button at the top left.
Deleted - by clicking the dropdown next to a menu item's Edit button.
Enabled/Disabled - using the checkboxes.
Reordered - by dragging and dropping using the cross handles to the left of each menu item.
Adding a menu item via this method is covered in Exercise 10.1.
Note Disabling a menu item does not delete the page. You can still access the page by going directly to the URL of the menu.
Menu items can be generated while creating or editing content. For example, while creating a new Page. This provides a quick way to generate a new menu item. In the example below, a new menu item will be added to the Primary navigation menu.
To add a menu item from the Menu settings area on a content page:
Click to expand the Menu settings area on the right hand side of the page.
Click on Provide a menu link.
Add a Menu title link.
Optionally add a Description.
Select the Parent link - which menu to add the link to.
Optionally choose a Weight.
The Weight number determines the ordering of the new menu item in the chosen menu. Managing ordering is easier to manage from the Menu page. As such, you may wish to leave the Weight value at the default value of 0 while creating the page, then manage the ordering in the Structure - Menu page.
When creating or managing content you will notice that some content types have an option to be added to a Menu, while others do not.
As shown above, a menu item can be created while creating or editing a Page. The Menu settings area is not available in the Alert content editing form as shown in the screenshot below.
The site builder usually only activates the Menu Settings option for content that is not listed on the site in any way and can only be found via a navigation menu. The Page content type is a good example of content that has to be manually added to the main navigation or another menu.
Dynamic content such as Events and Alerts do not usually need a link in the main navigation menu, as this content is displayed in the corresponding listing pages.
In some cases, the relevancy of content may expire over time (e.g. Event content types), so having a link from a menu brings an extra content management burden to remove the link after the content expires such as in the cases of Events and Alerts.
There are two methods you can use to add menu items.
Hover over Structure, then → Menus and click Primary navigation.
Click on the Add Link button at the top left of the page.
Begin typing the title of an existing content in the Link field. It is an autocomplete field and as you type the field will auto-suggest from your existing content.
Add a Description and a Menu link title.
Click Save once complete.
Review the change to the menu in the Primary navigation. You should see the new menu item in the Primary navigation menu at the top of the page.
Edit any Page content.
Expand Menu settings in the right sidebar.
Click Provide a menu link
Type in a Menu link title.
Select Primary navigation in the Parent link dropdown
Make sure your Page content is published.
Click Save
Go to the homepage and review the change to the menu in the Primary navigation.