Home> CMS Tutorial> WordPress> body text

How to add a secondary menu in wordpress

下次还敢
Release: 2024-04-16 02:24:13
Original
761 people have browsed it

How to add a secondary menu to your WordPress website

WordPress’ menu system allows you to easily create multi-level menus, including secondary menus. Here is a step-by-step guide to adding a secondary menu to your website:

Step 1: Create the Main Menu

  • Navigate to Appearance > menu".
  • Click "Create New Menu".
  • Enter a name for your menu.
  • Click "Create Menu".

Step 2: Add Top-Level Menu Item

  • Hover your mouse over the "Custom Links" section on the left.
  • Click "Add Custom Link".
  • Enter the link and label for the top-level menu item.
  • Click "Add to Menu".

Step 3: Create Secondary Menu Item

  • Hover your mouse over the top menu item.
  • Click on the arrow icon that appears.
  • Select "Add Submenu".

Step 4: Add links and labels for the secondary menu items

  • Enter the links and labels for the secondary menu items.
  • Click "Add to Submenu".

Step 5: Set the menu location

  • In the "Menu location" drop-down menu, select the location where you want the menu to appear (for example, "Main menu").
  • Click "Save Menu".

Step 6: View your secondary menu

  • Refresh your website page.
  • Your secondary menu will appear at the location of your choice, and submenu items will appear below the top-level menu items.

The above is the detailed content of How to add a secondary menu in wordpress. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!