WordPress Menu Not Showing? Common Causes and Fixes

Photo of author
Written By Charlie Giles

Devoted WordPress fan behind CodeCraftWP. Sharing years of web expertise to empower your WordPress journey!

Disclosure: This post may contain affiliate links, which means if you click on a link and make a purchase, I may earn a commission at no additional cost to you.

The disappearance of menus in WordPress can be a frustrating issue for website owners, often stemming from theme compatibility problems, plugin conflicts, or incorrect settings. Common solutions involve deactivating plugins, checking theme and plugin compatibility, adjusting user roles, correcting configuration settings, and resolving caching conflicts to restore proper menu functionality.

Reasons why the menu doesn’t appear in WordPress

WordPress Add Themes Page

1. Theme-related issues

One of the reasons why the menu doesn’t appear in WordPress could be related to your theme. Themes provide the visual appearance of your website, including the layout and design of the menu. If your is outdated, incompatible with your version of WordPress, or has missing files, it can cause the menu to not appear correctly.

To check if your is causing the menu issue, switch to a default WordPress theme, such as Twenty Twenty-One, and see if the menu appears. If the menu appears with the default theme, then the issue is likely related to your previous theme. You can try reinstalling the theme, updating it to the latest version, or contacting the theme developer for support.

2. Plugin-related issues

Another reason why the menu doesn’t appear in WordPress could be related to plugins. Plugins are add-ons that provide additional functionality to your website. However, not all plugins are created equal, and some can cause conflicts with other plugins or your theme, resulting in the menu not appearing.

To check if a is causing the menu issue, deactivate all plugins and see if the menu appears. If the menu appears after deactivating the plugins, then the issue is likely related to a plugin. You can try reinstalling the , updating it to the latest version, or contacting the developer for support.

3. Configuration errors

Configuration errors can also cause the menu to not appear in WordPress. This could be due to incorrect settings in the WordPress dashboard, such as the menu location, or incorrect code in your or plugin files.

To check for configuration errors, go to the WordPress dashboard and navigate to Appearance > Menus. Ensure that the menu location is set correctly, and the menu items are properly configured. If everything appears to be in order, then check your theme or plugin files for any errors in the code.

4. Cache-related issues

Finally, cache-related issues can also cause the menu to not appear in WordPress. Caching is a process that stores website data on the user’s device to improve website performance. However, if the cache is not cleared regularly, it can cause issues with website functionality, including the menu not appearing.

To clear the cache, go to your browser settings and clear the browsing history, caches, and cookies. Additionally, you can install a caching plugin, such as WP Super Cache or W3 Total Cache, to manage your website’s cache more effectively.


Troubleshooting the menu issue in WordPress

If you encounter any issues with the menu not appearing on your WordPress site, don’t panic. It’s a common problem, and there are several ways to troubleshoot and fix it. Let’s take a look at some solutions.

1. Check the menu settings

First, check the menu settings to ensure they are properly configured. To do this, go to Appearance > Menus. Check if the menu is assigned to the right location. If not, select the correct location from the drop-down menu.

If the menu is correctly assigned, check the menu items to see if they are correctly linked to the right pages or posts. If any of the links are broken or incorrect, edit them and save the changes. Refresh the page to see if the menu appears.

If the menu still does not appear, move on to the next solution.

2. Deactivate plugins

Sometimes, plugins can interfere with the menu settings and cause it to disappear. To resolve this, deactivate all the plugins on your site and check if the menu appears. If it does, reactivate each one by one, checking the menu after each activation. This way, you can identify which plugin is causing the issue.

To deactivate plugins, go to the Plugins section in your WordPress dashboard. Select all the plugins and from the Bulk Actions drop-down menu, select Deactivate. Save the changes and refresh the page to see if the menu appears.

If deactivating the plugins does not solve the problem, move on to the next solution.

3. Switch to the default theme

Sometimes, the theme you are using may be causing the issue. To check if this is the case, switch to the default WordPress theme and check if the menu appears.

To switch to the default theme, go to Appearance > Themes. Hover over the current theme and click on Theme Details. From the bottom right corner, click on the Activate button for the default theme. Refresh the page to see if the menu appears.

If the menu appears with the default theme, it means your previous theme is causing the issue. You can contact the theme developer for support or switch to a different theme.

If switching to the default theme does not solve the issue, move on to the final solution.

4. Clear cache and cookies

Finally, clearing your browser cache and cookies can help resolve the menu issue. Sometimes, stored data in your browser can cause conflicts with WordPress settings.

To clear your cache and cookies, go to your browser settings and search for the option to clear browsing data. Select the time range and the data types you want to clear. Then, click on Clear data. Refresh the page to see if the menu appears.

If none of these solutions work, it may be time to seek professional help. Contact your web developer or hosting provider for assistance.

5. Edit CSS

If your menu is still not displaying properly after trying other methods, the issue may be related to the CSS on your website. CSS is the code that controls the appearance of your website, including your menu. Sometimes, a problem with the CSS can cause your menu to not display correctly. To this issue, you can try editing your CSS. Here’s how:

  • Go to Appearance > Customize in your WordPress dashboard.
  • Click on the “Additional CSS” option.
  • Add the following code to your CSS:
primary-menu {
    display: block !important;
}

This code will force your menu to display on your website. After adding this code, check to see if your menu is now displaying properly. If not, move on to the final step.

6. Modify functions.php file

If none of the previous steps have fixed your menu issues in WordPress, the problem may be related to your functions.php file. This file is responsible for controlling the functionality of your website, and it’s possible that a problem with this file is causing your menu to not display properly. To fix this issue, you can try modifying your functions.php file. Here’s how:

  • Go to Appearance > Theme Editor in your WordPress dashboard.
  • Select “functions.php” from the list of files on the right-hand side of the screen.
  • Add the following code to the bottom of the file:
add_action( 'after_setup_theme', 'register_my_menu' );
function register_my_menu() {
    register_nav_menu( 'primary', __( 'Primary Menu', '-slug' ) );
}

This code will register your menu in WordPress, which should fix any issues related to the functions.php file. After adding this code, check to see if your menu is now displaying properly.

Leave a Comment