How do I remove header menu from HOME page only?
-
Hi,
I’m using the skeleton theme and do not want the menu to appear on my home page.
Can this code be modified somehow for my theme?
<?php if ( !is_front_page() ): ?> <nav id="access" role="navigation"> <?php wp_nav_menu( array( 'theme_location' => 'header_nav', 'container_id' => 'header-nav', 'container_class' => 'nav', 'fallback_cb' => 'minimatica_nav_menu' ) ); ?> </nav><!-- #access --> <?php endif; ?>
Thanks in advance!
- The topic ‘How do I remove header menu from HOME page only?’ is closed to new replies.