• Resolved antonop4u

    (@antonop4u)


    Hi I’m developing a new website using the nirvana theme, I’m also using Max Mega Menu plugin but I can’t see the sub menus. I’ve tried with other themes and the sub menus work just fine. Are there any known issue of compatibility with this theme?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi anton,

    Please see:

    https://www.megamenu.com/documentation/nirvana/

    Regards,
    Tom

    Thread Starter antonop4u

    (@antonop4u)

    thank you very much! BTW awesome plugin!!!

    Thread Starter antonop4u

    (@antonop4u)

    Shell I past that function in the child theme functions? because i tried and it gives me a critical error. on the else.
    Since the mega menu plugin was active, I tried to comment the whole else (else /** */ ) the critical error disappeared but the sub menus didn’t appear…

    Plugin Author megamenu

    (@megamenu)

    Hi anton,

    I’ve just double checked the instructions and they’re working OK for me.

    Maybe it was a copy and paste error (sometimes the double quotes will be converted to curly ones). Maybe try copying/pasting from here:

    <?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="access" role="navigation">
            <?php cryout_access_hook();?>
        </nav><!-- #access -->
    <?php endif; ?>

    Regards,
    Tom

    Thread Starter antonop4u

    (@antonop4u)

    Hi Tom,
    Where do you past this? in the child theme functions?
    Regards,
    Anton

    Plugin Author megamenu

    (@megamenu)

    Hi Anton,

    Nope. Follow this guide:

    https://www.megamenu.com/documentation/nirvana/

    But instead of copying and pasting the code from that page, copy and paste it from my reply above.

    Regards,
    Tom

    Thread Starter antonop4u

    (@antonop4u)

    Does this change remain when i update the theme?

    Plugin Author megamenu

    (@megamenu)

    Hi Anton,

    No, you would need to copy the header.php file to your child theme for the changes to ‘stick’.

    Regards,
    Tom

    Thread Starter antonop4u

    (@antonop4u)

    OK perfect thank you very much!

    Regards,
    Anton

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Nirvana theme – sub menu not visible’ is closed to new replies.