Stop nav menu on a certain page
-
I have 3 menus on my site. For one page I would to remove all the pages in the header nav and have nothing but the header background display.
I tried this but it did not work, I receive a syntax error:
<div id=”navigation”>
<?php
if (is_page(‘institutional-investors)){
// do nothing }
else {
<?php wp_nav_menu(‘theme_location=header-menu&fallback_cb=&container=’); ?>
}
?>
Thanks,
Mary-Ellen<div class=”cl”> </div>
</div>
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Stop nav menu on a certain page’ is closed to new replies.