mega menu integration w/effectus theme.
-
Hi,
I have mega menu installed however it does not seem to be integrated with my theme.
I am not too familiar with php but willing to try adding the code to header.php I just don’t know where that is at in my files.
And when I find the header.php file. Do I just paste this code below on top of file?
This is from your documentation.My site is: funthingstodoinkeywest.com
<?php if ( function_exists(‘max_mega_menu_is_enabled’) && max_mega_menu_is_enabled(‘primary’) ) : ?>
<?php wp_nav_menu( array( ‘theme_location’ => ‘primary’) ); ?>
<?php else: ?>
<nav id=”site-navigation” class=”main-navigation” role=”navigation”>
<button class=”menu-toggle”><?php _e( ‘Menu’, ‘twentytwelve’ ); ?></button>
“><?php _e( ‘Skip to content’, ‘twentytwelve’ ); ?>
<?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-menu’ ) ); ?>
</nav><!– #site-navigation –>
<?php endif; ?>
The topic ‘mega menu integration w/effectus theme.’ is closed to new replies.