• Resolved Dave

    (@ddemuth)


    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' ) ); ?>

    https://wordpress.org/plugins/megamenu/

Viewing 1 replies (of 1 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Dave,

    Thanks – glad you like it and thanks for the feedback.

    You’re quite right, the wp_nav_menu call needs a theme location specified – I’ll update the docs.

    Regards,
    Tom.

Viewing 1 replies (of 1 total)
  • The topic ‘Declaring Nav Menu in Template File’ is closed to new replies.