WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. KhatteMeetheDesires
    Member
    Posted 1 month 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
    Member
    Posted 1 month 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' ) ); ?>
    			</nav>

    Just remove that lines.

Reply

You must log in to post.

About this Theme

About this Topic