How to create a WordPress custom menu?

发布时间:2 September 2023浏览量:155

The steps to create a WordPress custom menu are as follows:

  1. Log in to the WordPress dashboard: Log in to the WordPress dashboard using the administrator username and password.
  2. Go to the menu management page: In the left navigation bar of the dashboard, find and click on “Appearance” -> “Menus”.
  3. Create a new menu: If you haven't created a menu yet, the first time you go to the menu page, you can click the “Create New Menu” button. If you already have a menu, you can choose to edit an existing menu.
  4. Add menu items: In the menu management page, you can see your pages, categories, custom links and other items on the left side. Select the page, category or custom link you want to add to the menu and click “Add to Menu”.
  5. Adjustment of the menu structure: Drag menu items to adjust their order and nesting relationships. Zoom menu items to change their hierarchy.
  6. Customised menu items: By clicking on the small arrows next to each menu item, you can expand the menu item to customise its link text, title attributes, etc.
  7. Set the menu position: In the “Menu Settings” section, you can choose the location of the menu. Choose where you want the menu to be displayed (e.g., main navigation, footer navigation, etc.).
  8. Save the menu: Once everything is set up, click the “Save Menu” button at the bottom of the page.

Now you have successfully created your WordPress custom menu and assigned it to the location of your choice. Refresh your site and you should be able to see the new menu displayed in the appropriate location.