Book a call Free rebuild
Home/Glossary/WordPress/Navigation Menu

Navigation Menu

May 26, 2025 Updated November 16, 2026 3 min read

WordPress glossaryA navigation menu is the set of links that helps visitors move around a site. In WordPress, menus are built in the Site Editor or under Appearance, then Menus.

A navigation menu is the set of links visitors use to find their way around a site: the row of links in the header, the columns in the footer, the hamburger menu on a phone. It tells people what the site offers and where things are, and because menu links appear on every page, it also tells search engines which pages the site considers most important.

In WordPress a menu is a list you build in the admin, not something hard-coded in the theme. It can hold pages, posts, categories, tags, and custom links to anywhere, in any order, with dropdowns for second-level items. How you build it depends on the kind of theme the site uses.

Menus in classic themes

Classic themes register one or more menu locations, such as a primary menu in the header and a footer menu, and you decide which menu goes where.

  1. Go to Appearance, then Menus, and create a menu with a name you will recognize, such as "Main navigation".
  2. Add items from the panels on the left: Pages, Posts, Categories, and Custom Links for anything else, including external URLs and links to a section of a page.
  3. Drag items to reorder them. Drag an item slightly to the right, under another, to make it a dropdown item.
  4. Under Menu Settings, or the Manage Locations tab, assign the menu to a location, then save.

The same tools are available in the Customizer, under Appearance, then Customize, then Menus, with a live preview. Screen Options on the Menus screen reveals extra fields for each item: a CSS class, a link target, a title attribute, a link relationship (rel), and a description.

Menus in block themes

Block themes have no menu locations. A menu is a Navigation block placed directly in a template part, usually the header, and edited in the Site Editor under Appearance, then Editor. The Navigation block handles items, dropdowns, styles, and the mobile overlay, the full-screen menu that opens from a hamburger icon. Menus made this way are saved separately from the template, so the same menu can be used in more than one place. Older classic menus can be imported into a Navigation block.

On block themes the Appearance, then Menus screen is usually hidden, which surprises people who switch from a classic theme. It has not gone; menus now live in the Site Editor.

How themes display menus

A classic theme registers locations with register_nav_menus() and prints a menu with wp_nav_menu(), which outputs an ordinary list of links with classes such as current-menu-item on the page being viewed. If no menu is assigned to a location, many themes fall back to listing every published page, which is why a new site sometimes shows a menu nobody built.

What makes a good menu

  • Short top level. A handful of clear choices beats a long row. Put detail in dropdowns or on hub pages.
  • Plain labels. "Pricing" and "Contact" work better than clever names. People scan for words they expect.
  • Pages that matter. The menu signals importance to visitors and search engines alike, so link the pages that do the work.
  • Accessible dropdowns. Submenus should open with a keyboard and a tap, not only on hover, and the menu should sit inside a <nav> element with a clear label.
  • A real mobile version. Test the menu on a phone: the toggle, the dropdowns, and how long the list gets.
  • Regular checks. Menus outlive the pages they link to. When a URL changes, update the menu and add a redirect.

Large sites sometimes need a mega menu, a wide dropdown with several columns. Plugins and many page builders provide them; our guide to building a mega menu covers the options. Keep them organized, since a mega menu with a hundred links helps nobody.

Troubleshooting

  • Menu not showing: it is not assigned to a location, or the theme does not have the location you expected. On a block theme, check the Navigation block in the header template.
  • Wrong menu showing: the theme is falling back to a page list, or a different menu is assigned.
  • Dropdowns not opening: often a JavaScript error from another plugin, or CSS that hides submenus. Check the browser console.
  • Changes not appearing: clear the page cache and any CDN cache, since menus are part of every cached page.
WP Services

WordPress services at revolutionary pricing.

Productized WordPress services, from builds to care, delivered by Seahawk and tracked in one app. For the WordPress lovers.