Declaring Nav Menu in Template File
-
Hi Tom, Beast of a menu here – love it! No need for support either but may be worth including in setup documentation. (unless I missed it)
This is how the menu must be established in theme, stating theme location
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
Anything like this without stating theme location won’t work with Max Mega Menu (still works if not utilizing plugin)
<?php wp_nav_menu( array( 'menu' => 'Main Navigation' ) ); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Declaring Nav Menu in Template File’ is closed to new replies.