Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Menus" settings disappeared from WordPress admin panel

Tags:

wordpress

I need to change some menu items on my WordPress site, but the option has disappeared from the Admin area. According to the documentation, a Menus option should appear under the Appearance menu, but it is not there in my installation:

enter image description here

How can I get Menus to appear where it is supposed to?

like image 846
ashatte Avatar asked Feb 18 '15 01:02

ashatte


People also ask

Why has my menu disappeared WordPress?

Go to your WordPress dashboard and head to Appearance, then Menus. Make sure that your menu is there and that you didn't accidentally delete it. Click on the tab Manage Locations. Now, the exact screen will depend on your theme, but you should see something like Header Menu or Primary Menu.

How do I restore the menu bar in WordPress?

To check this, simply go to Users » Profile in your WordPress admin panel and then locate the 'Toolbar' option. You need to make sure the box that says 'Show Toolbar when viewing site' is checked. Then, click the 'Update Profile' button at the bottom of the page to save your settings.


1 Answers

The problem may have been caused by a rogue plugin overwriting the functionality, but I managed to fix it by adding a functions.php file to my custom theme (in the root directory) with the following code:

<?php
    add_theme_support( 'menus' );
?>

Now Menus has appeared again:

enter image description here

Source: Function Reference/add theme support

like image 64
ashatte Avatar answered Nov 08 '22 22:11

ashatte