nav-menus.php (Dashboard -> Apperance -> Menus)
This page is used for edit customized menus (or navigation menus, navigation bars, etc.). Please see the image below.
A website can have multiple menus.
There is only one main menu, but there can be secondary menus, tertiary menus, etc.
Different menus can be put at different location such as sidebar, footer, etc.
A menu can be multi-levels. There can be sub-menus.
You can add any pages, any posts, any custom url links, any categories etc to your menu.
You can decide the order and hierarchy of your menu items.
Note: if you click on the “screen options” on the top right, you can choose some more items to add on the menu, for example, the default ones are pages, posts, custom url links, and categories. Tags are hidden by default.
You can create a new menu, delete menu, bulk delete menu items, rearrange menu items, save menu, and choose which location this menu will be displayed. (It is easy to find without instruction.)
if you click on the arrow on the right of each menu item, you will see something similar like the image above. If you dont see “CSS Classes” or “XFN” or “Description” etc., then you need to go to top right “Screen Options” to check them all.
- Navigation Label: This is what will display at front end.
- Title Attribute: It provides additional information to your page.
- Open link in new tab: if you want to open link in a new tab when clicking on this menu item
- CSS Classes: the CSS classes name for this menu item
- Link Relationship (XFN): A special attribute to show your relationship to the menu item you are linking to
- Description: description of this link. It is useful when your theme supports this feature.
- Origin: It shows where this original source of this link.
- Move: Move up, move down
- Remove: delete this menu item from this menu
- Cancel: cancel the configuration of this menu item