Home › Forums › Custom Work › Uber Menu in WP RESIDENCE
This topic contains 0 replies, has 1 voice, and was last updated by Anna 3 years, 1 month ago.
Edit in in header.php
<nav id="access"><!--?php if( function_exists( 'ubermenu' ) ): ?-->
<!--?php ubermenu( 'main' , array( 'theme_location' =--> 'primary' ) ); ?>
<!--?php else: ?--><nav id="navigation"><!--?php wp_nav_menu( array( 'theme_location' =--> 'primary' ) ); ?></nav><!--?php endif; ?-->
</nav><!-- #access -->
With UBERMENU you may have a JS conflict between this plugin the Google Maps API JS files from out theme. To solve this, follow these instructions from plugin developers:
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
To disable UberMenu’s include of the Google Maps API, you can go to the UberMenu Control Panel > General Settings > Assets > Load Google Maps API.
Now everything works fine!
The forum ‘Custom Work’ is closed to new topics and replies.