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?
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);
if(avia_woocommerce_enabled()) echo avia_woocommerce_cart_dropdown();
Most likely just removing the content in between the echo lines and adding in the php call to your plugin there.
The topic ‘Changes to Mega Menu’ is closed to new replies.