I think your best option would be to create a new menu location within the plugin (Mega Menu > Menu Locations > Add New Location), then paste the PHP Code (in the Display Options tab) into your header.php file.
When I go back to the mega menus setup it still says “There are currently no menu locations registered by your theme.” and I have no nav menu at all in my header anymore.
What am I missing here?
This reply was modified 1 year, 9 months ago by tactics.
That code should live in your functions.php file, not in the header.php file, but ignore that bit as you don’t need it if you follow my instructions below.
Please simply follow this:
I think your best option would be to create a new menu location within the plugin (Mega Menu > Menu Locations > Add New Location), then paste the PHP Code (in the Display Options tab) into your header.php file.