WordPress.org

Ready to get started?Download WordPress

Forums

elegantWhite
Remove page navigation (3 posts)

  1. Veelkantie
    Member
    Posted 1 year ago #

    As said in the title. Where and how do I remove the page navigation on top of the page above the header?

    Thanks in advance ;)

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    the likely location to find the navigation code is in header.php;

    make a backup copy before editing.

    remove:

    <div id="button"><textbutton>Show Menu</textbutton><textbutton style="display:none;">Hide Menu</textbutton></div>

    and:

    <div id="nav">
    	<ul class="nav">
    	<?php wp_nav_menu( array('theme_location' => 'header-nav', 'depth' => -1, 'menu_class' => 'nav' )); ?>
    	</ul>
    	</div><div id="clear"></div>

    (untested)

  3. Veelkantie
    Member
    Posted 1 year ago #

    Thank you so much...

    Just found another way of hiding de page navigation to... Via the 'Exclude Pages from Navigation' plugin. That did the trick for me...

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.