Skip to content
Technology for businesses since 2008

Help center · WordPress

How to create and edit a WordPress menu (classic and block themes)

To create a menu in WordPress, go to Appearance > Menus, give the menu a name, add pages or links, select the location where it should appear, and click Save Menu. If your theme is a block theme and the Menus option doesn’t exist, the path is Appearance > Editor, where the menu sits inside the navigation block.

This article is for anyone who has just set up a WordPress site and wants to organize the top or footer menu. You’ll see both ways to edit (classic and block themes), how to create submenus, how to set the menu location, and what to do when the option doesn’t appear.

Before you start: classic theme or block theme?

WordPress has two theme models, and each one edits the menu in a different place. To find out which one you have, open the Appearance menu in the dashboard.

What appears under Appearance Theme type Where to edit the menu
Menus and Customize Classic Appearance > Menus
Editor (and no Menus item) Block Appearance > Editor > Navigation

Some themes mix features from both models, so follow the path that exists in your dashboard. To switch themes, see how to install a theme in WordPress.

How to create a menu in Appearance > Menus (classic theme)

  1. In the dashboard, go to Appearance > Menus.
  2. Click create a new menu, type a name (for example, “Main menu”), and confirm.
  3. In the left column, open the Pages box, check the ones you want, and click Add to Menu.
  4. Drag the items in the right column to set the order.
  5. Under Menu Settings, check the display location (see the section on locations below).
  6. Click Save Menu.

Without step 6, nothing changes on the site. After saving, open the site in another tab and check the result. If the menu doesn’t change, clear the cache, as explained in what a caching plugin is for in WordPress.

The left column in Appearance > Menus has a box for each type of item:

  • Pages: pages already published on the site. If the page you want doesn’t appear, check whether it’s published and not saved as a draft.
  • Posts and categories: blog articles and categories.
  • Custom links: any address, from your site or another one. Enter the full URL (such as https://yourdomain.com/contact/) and the link text.

If a box doesn’t appear, click Screen Options at the top of the page and check the type you want.

How to create a submenu in WordPress

A submenu is an item that appears inside another one, usually when you hover over or tap the parent item.

Classic theme: in Appearance > Menus, drag the child item slightly to the right, below the parent item, until it’s indented. Save the menu. If your theme doesn’t show the submenu, it may not have styling for it, so check the theme’s documentation.

Block theme: in the editor, inside the navigation block, select the parent item and use the option to add a submenu in the block toolbar. Then add the child items. Button names vary slightly between WordPress versions.

How to set the menu location

A menu you create only exists in the dashboard until it’s assigned a display location. The theme defines the possible locations, usually something like primary menu, footer, or mobile menu.

  1. In Appearance > Menus, open the menu and select the location under Menu Settings.
  2. To see them all at once, open the Manage Locations tab and choose which menu goes in each location.
  3. Click Save Menu.

Locations vary from theme to theme. If the list is empty, the theme may use a different setting for menus.

How to edit the menu in a block theme

  1. Go to Appearance > Editor.
  2. Open the Navigation section. If it doesn’t appear, open Templates or Template Parts, go into the header, and click the navigation block.
  3. Select the menu you want to change.
  4. Click the + icon to add items: a page, a custom link, a category, or a submenu.
  5. Drag items to reorder them and remove the ones you don’t need.
  6. Click Save.

The Menus option doesn’t appear under Appearance: what to do?

Here are the most common causes, from most to least likely:

Cause What to do
The theme is a block theme Use Appearance > Editor > Navigation
Your user isn’t an administrator Ask the site administrator. See how to create users and roles
The theme doesn’t offer menu locations Check the theme’s documentation or try another theme
A plugin or page builder controls the header Look for the menu in the plugin’s own settings
Plugin conflict Deactivate the plugins one at a time to find the culprit

Before deactivating plugins or switching themes, make a copy of your site. The guide how to back up WordPress shows you how. If the site shows a white screen after a change, see 500 error or white screen in WordPress.

Frequently asked questions

Where is the menu in WordPress?

In classic themes, it’s under Appearance > Menus. In block themes, it’s under Appearance > Editor, in the Navigation section. What appears in your dashboard depends on the active theme.

How do I add a page to the menu?

Under Appearance > Menus, check the page in the Pages box, click Add to Menu, and save. In a block theme, use the + button in the navigation block and choose the page.

How do I create a submenu?

In a classic theme, drag the child item to the right, below the parent item, and save. In a block theme, add a submenu to the item from the navigation block editor.

Use the Custom Link item, entering the full URL and the link text. For WhatsApp, the address usually follows the format https://wa.me/ followed by the number with country code and area code.

Does deleting a menu also delete the pages?

No. The menu is just a list of shortcuts. Deleting the menu or one of its items doesn’t delete the page or post it points to.

If the menu still doesn’t appear or the site breaks after a change, our team can help. Get in touch through our contact page.

More on WordPress

See all →

Help center

Looking for something else?

See all tutorials, organized by topic.