Support » Fixing WordPress » Remove navigation bar a from single page

  • Hi there,

    I am trying to remove my navigation bar from a single page. The page is using a custom template.

    I have read on a few other post about using this kind of code;

    <?php if( !is_single() ) { ?>
    <div id=”header”>
    </div><!– header –>

    <div id=”navigation”>
    </div><!– navigation –>
    <?php } ?>

    I have two problems;

    1 – Where do i put this code in my header.php?

    2 – I think to my navigation bar is called something other than navigation. I think its – menu – but I am not sure.

    And help would be amazing!

    Cheers,

    Stuart

    http://www.stuartjnelson.com/log-in/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    The important bit is the PHP, wrap that around your navigation menu.

    Hi andrew,

    Would you be able to give a little more detail? I am stuck on where exactly i put the code.

    Cheers,

    Stuart 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove navigation bar a from single page’ is closed to new replies.