• palmtree

    (@palmtree)


    hello…i am pulling hair out. does anyone know how to exclude a nav bar or all the page links from the nav bar in a particular page? i am trying to do this in a subblog on a multi-site. i see the page id, tried adding .page-item-23 {display: none;} but that didn’t work. any ideas?
    thk

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    <?php
    if( !is_page('23') ) :?>
    [ nav bar code ]
    <?php endif;?>
    Thread Starter palmtree

    (@palmtree)

    thanks…where would i put that, in the theme’s function.php?

    esmi

    (@esmi)

    It wouldn’t necessarily go into the functions.php file. It needs to be in the template file for the nav bar.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘exclude a nav bar from a particular page’ is closed to new replies.