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?
Changes to Mega Menu
2 posts from 2 voices-
Posted 11 months ago #
-
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
Posted 11 months ago #
Reply
You must log in to post.














