Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13169

    I have found a Plugin – JQuery Mega Menu Plugin – that will allow me to configure my menu the way I would like it to be. It sets up as a Widget when I activated it. As the menu area is not a widget area, how do I get the plugin to work with my Abundance Theme?

    #78108

    Hi SandyMc,

    The plugin should have some documentation on how to integrate it into themes. I’m guessing that since it runs the menu as a group of widgets, you’ll need to add some kind of plugin hook into the header.php where the menu is created.

    You’ll be modifying this block:

    echo "<div class='main_menu'>";
    $args = array('theme_location'=>'avia', 'fallback_cb' => 'avia_fallback_menu', 'max_columns'=>4);
    wp_nav_menu($args);
    if(avia_woocommerce_enabled()) echo avia_woocommerce_cart_dropdown();
    echo "</div>";

    Most likely just removing the content in between the echo lines and adding in the php call to your plugin there.

    Regards,

    Devin

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Changes to Mega Menu’ is closed to new replies.