Twenty Fourteen
How to remove the Primary Navigation Menu? (2 posts)

  1. KhatteMeetheDesires
    Posted 1 year ago #

    I have installed WP Login|Dashboard which is hiding my primary navigation menu. I have customized my theme and even organized the menus from settings but nothing is happening.
    Please help. Thanks.

  2. burakkaptan
    Posted 1 year ago #

    You should open the header.php and find the line 51. You will see there like that :

    <nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation">
    				<button class="menu-toggle"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></button>
    				<a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a>
    				<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>

    Just remove that lines.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic