WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a very simple question, how do I remove a menu from a WordPress site? Is there a plugin out there that can handle this or do I have to go into my theme's code and remove something from there?

share|improve this question
up vote 0 down vote accepted

In your admin panel, go to Appearance > Menus > Manage Locations

There you make sure that none of the theme locations have a menu assigned.

Alternatively, you can modify your theme.

If you want to do that, search for calls to wp_nav_menu.

If you take theme twentyfourteen, you have 2 files: header.php and sidebar.php

in header.php the portion to update looks like

    <div id="navbar" class="navbar">
        <nav id="site-navigation" class="navigation main-navigation" role="navigation">
            <h3 class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></h3>
            <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
            <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
            <?php get_search_form(); ?>
        </nav><!-- #site-navigation -->
    </div><!-- #navbar -->

Note: if you want to modify a theme, create a child theme as your modifications would be overwritten when you update the theme.

share|improve this answer
Thanks you for response, I looking to remove the actual menu as it is and not the content in it – Tom Aug 14 '14 at 20:57
I believe what FranceImage tried to say is that you need to go here: yourdomain.com/wp-admin/nav-menus.php?action=locations. – drabello Aug 14 '14 at 21:08
I updated the answer in case you want to update the html markup to remove the navbar altogether – FranceImage Aug 14 '14 at 21:15
Thank you, it worked – Tom Aug 15 '14 at 1:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.