• 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

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

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