Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Troubleshooting

How to Fix Menu in WordPress: Causes and Fixes

How to Fix Menu in WordPress: Causes and Fixes

Short answer

Match the fix to the symptom: a missing menu needs a display location or, in block themes, a Navigation block. A menu that will not save usually needs a higher PHP max_input_vars limit. A broken mobile menu usually comes from a JavaScript error or a script optimisation setting.

Key takeaways

  • Assign a display location for classic theme menus.
  • Block themes manage menus with the Navigation block.
  • Raise max_input_vars when large menus will not save.
  • Script delay and combine settings often break mobile menus.
  • Screen Options reveals hidden menu editor panels.
  • Update custom links after a domain or HTTPS move.

How do you fix a menu in WordPress?

Start by finding the symptom: a menu that does not show needs a display location, a menu that will not save needs higher PHP input limits, and a broken mobile menu usually needs a script or cache fix.

WordPress menus break in a handful of predictable ways. Most fixes take a few minutes once you know which kind of problem you have.

First, check which type of theme you use under Appearance > Themes. Classic themes use Appearance > Menus. Block themes use the Navigation block inside the Site Editor.

This table matches each symptom with its usual cause.

SymptomLikely causeWhere to fix it
Menu not showing at allNo display location assignedMenus screen or Navigation block
Changes do not save or items vanishPHP max_input_vars too lowHosting PHP settings
Mobile menu button does nothingJavaScript error or optimisation pluginBrowser console, cache plugin
Dropdown submenus not openingWrong item nesting or CSS conflictMenu structure, theme CSS
Menu items missing from the listScreen Options hiding panelsScreen Options tab
Links go to the old domainMigration left old URLsCustom links in the menu

Why is your WordPress menu not showing?

In a classic theme, a menu that does not show usually has no display location assigned, so WordPress has nowhere to place it on the page.

Go to Appearance > Menus, pick your menu, and scroll to Menu Settings. Tick a location such as Primary or Header, then save.

You can also use the Manage Locations tab to assign menus to each spot your theme offers. Different themes name locations differently.

If the theme has no menu location at all in the area you want, you may need a menu block or widget instead. Our guide on how to link a page to a menu covers the basics of building menus.

How do you fix the menu in a block theme?

In a block theme, menus live in the Navigation block, so open Appearance > Editor, select the header template part, and check which menu the Navigation block uses.

Block themes do not use the classic Menus screen. Many people build a menu there and wonder why nothing changes.

Click the Navigation block, then open its settings sidebar. You can pick an existing menu, create a new one, or import a classic menu.

If the block shows Page list, it is listing every page automatically. Replace it with a custom menu to control which links appear. The Navigation block documentation explains each option.

Our guide on how to edit the header in a block theme shows how to reach the header template part.

Why won't your menu save changes?

Large menus often fail to save because the PHP max_input_vars limit cuts off the form data, so items beyond the limit disappear when you click Save Menu.

Each menu item sends several fields to the server. A menu with 100 or more items can exceed a limit of 1000 input variables, which is a common default.

Ask your host to raise max_input_vars, or change it yourself in php.ini, .user.ini or your control panel's PHP settings. The PHP manual describes the setting.

For a full walkthrough, see our guide on how to fix a menu not saving. Security plugins and server firewalls can also block large form posts.

Why is your mobile menu not working?

A mobile menu that will not open usually means a JavaScript error, a script optimisation setting that delays or combines the theme's menu script, or a CSS rule hiding the panel.

Open the site on a phone or in your browser's responsive mode. Press F12 and check the browser console for red errors when you tap the menu button.

Then look at your caching or speed plugin. Options like Delay JavaScript, Combine JS or Defer JS often break hamburger menus.

Exclude the theme's navigation script from those features, clear every cache, and test again. If the console names a plugin, deactivate it to confirm.

If you use a page builder, check its own header settings. Our guide on Elementor navigation settings covers the builder's menu widget.

Why are dropdown submenus not working?

Dropdowns fail when items are not nested correctly under a parent, when the theme does not support the depth you used, or when CSS hides the submenu.

On the classic Menus screen, drag a child item slightly to the right under its parent. It should show sub item next to its name.

In the Navigation block, use the Add submenu option on a link. Check the block setting for opening submenus on click or hover.

Some themes support only one or two levels. Deeper levels may not display. Our guide on how to add a sub menu in WordPress explains nesting step by step.

Why are pages or options missing from the menu editor?

If you cannot see categories, custom links, CSS classes or link targets in the menu editor, the Screen Options panel is hiding them.

Click Screen Options at the top right of the Menus screen. Tick the boxes for the panels and advanced properties you need.

This is a common reason people think they cannot add posts, categories or product pages to a menu. The panels are just turned off.

Brand new pages also need to be published before they show in the Pages list. Drafts do not appear in the View All tab.

Custom links store full URLs, so after moving domains or switching to HTTPS they can still point to the old address and need updating.

Page and post links update automatically because WordPress stores their IDs. Custom links are stored as plain text.

Open each custom link in the menu and fix its URL. On large sites, a search-and-replace tool can update the database in one pass, but take a backup first.

If links work but return 404 errors, refresh your permalinks. Our guide on how to flush permalinks shows the quick way.

Could a plugin or theme conflict break the menu?

Yes, mega menu plugins, page builders and some security or optimisation plugins can override or break the menu, so test with them disabled.

Switch temporarily to a default theme such as Twenty Twenty-Five on a staging site. If the menu works there, your theme is involved.

Then deactivate plugins one at a time. Start with menu, header builder, caching and optimisation plugins.

The WordPress troubleshooting guide suggests the same theme-and-plugin test for most front-end problems.

How do you stop menu problems coming back?

Keep menus lean, back them up before big edits, and test the desktop and mobile menu after every theme, builder or optimisation plugin update.

A few habits help:

  • Keep the top level of the menu short and use submenus wisely.
  • Export the site or take a backup before reorganising a large menu.
  • Test the mobile menu after changing cache or speed settings.
  • Note which theme location each menu uses before switching themes.

When switching themes, menus are kept, but locations may need reassigning. That single step prevents most missing-menu reports. Use Google's mobile-friendly guidance as a reminder that the mobile menu is the one search engines see first.

Frequently asked questions

Why did my menu disappear after changing themes?

Menus are kept when you switch themes, but each theme has its own display locations. Go to Appearance > Menus and use Manage Locations to assign your menu again. In a block theme, select the menu inside the Navigation block.

Why is Appearance > Menus missing in WordPress?

Block themes do not show the classic Menus screen by default. Edit menus in Appearance > Editor through the Navigation block instead. If you use a classic theme and still cannot see it, check your user role and admin customisation plugins.

How do I fix a WordPress menu that only saves some items?

The PHP max_input_vars setting is probably too low for the size of the menu. Ask your host to raise it, or change it in your PHP settings, then reload the menu and save again.

Why does my hamburger menu not open on mobile?

Usually a JavaScript error or a speed plugin that delays or combines the theme's scripts. Check the browser console, exclude the menu script from optimisation features, clear all caches and test again on a phone.

Can I fix menu problems without losing my menu items?

Yes. Most fixes, such as assigning locations, raising PHP limits or clearing caches, do not touch the menu itself. Take a backup before big changes, and avoid deleting the menu unless you plan to rebuild it.

Sources

  1. Navigation block WordPress.org Documentation
  2. max_input_vars PHP Manual
  3. FAQ Troubleshooting WordPress.org Documentation
  4. Mobile-first indexing best practices Google Search Central

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.