The Mappress creator insists that the error has something to do with the theme…..
“The theme is loading the maps API. Check with Enfold for how to turn it off. For example, here’s their solution for another plugin: ”
https://kriesi.at/support/topic/google-maps-element-javascript-conflict-with-maps-marker-pro-plugin/
The Mappress plugin
https://wordpress.org/plugins/mappress-google-maps-for-wordpress/
What code shall add in order for Enfold to not load the maps API?
Thanks
Charlotte
http://www.coolbudgethotels.com
Solved!
Hi,
Sorry for the delay, Glad the issue is solved for you. I am guessing you just had to remove the API key from Google Services option in theme ?
Please feel free to share what worked for you and it may help others.
Thank you for using Enfold.
Best regards,
Vinay
Hi there,
No, it worked out when I added this code:
add_filter(‘avf_load_google_map_api’, ‘disable_google_map_api’, 10, 1);
function disable_google_map_api($load_google_map_api) {
$load_google_map_api = false;
return $load_google_map_api;
}
:)
Hi,
That’s great! and thank you for sharing the solution :)
Best regards,
Vinay