Tagged: google maps
-
AuthorPosts
-
August 3, 2017 at 11:15 am #833820
Hi,
Have had some issues with this and Web Dorado have looked into it and have ascertained that the issue is due to
” …. a conflict with your Theme. Your Theme loads Google Maps twice. Please, could you contact your Theme support, and ask them not to load Google Map in our pages? ”Are you able to sort this out please?
Thank you
AngusAugust 8, 2017 at 7:39 pm #836031Hey SuperSportsUAE,
As we do load google maps from our side, the Web Developer of the plugin will have to check from their side, if the API of google is loaded or not.
That is how good plugins are been coded, to support all themes.In any case please try
add_action('after_setup_theme', 'ava_disable_gmap'); function ava_disable_gmap() { add_filter('avf_load_google_map_api', function($load_google_map_api) { $load_google_map_api = false; return $load_google_map_api; },10,1); add_filter('avia_google_maps_widget_load_api', function($load_google_map_api) { $load_google_map_api = false; return $load_google_map_api; },10,1); }
Best regards,
BasilisAugust 8, 2017 at 9:21 pm #836054Thanks Basilis.
Sorry, but I’m a novice at coding, probably not even that, where do I paste the code you’ve provided?
August 9, 2017 at 7:06 am #836176Hi,
You can put the code at your functions.php – but you need to use a child theme following this article: http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
John TorvikAugust 9, 2017 at 12:35 pm #836343Thanks, John.
Our site was set up with a child theme in the first place, so I think it should be fine.
Which brings me to another query – if I update the Enfold Theme with the current update, will this impact my child theme?
I’m slightly concerned about the reports that people have had issues with this update.
Thank you
August 9, 2017 at 2:27 pm #836417OK, done and it appears to be working fine.
I heard from WD about an hour ago that their team had resolved the issue.
I pasted your code about the same time, so not sure who gets the plaudits :-)
Thanks
August 9, 2017 at 7:14 pm #836561Hi!
We’re glad that this problem is solved! :D We’ll close this topic now. For any other questions or issues, feel free to post them here on the forum and we will do our best to assist you.
For your information, you can also take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
Thank you for using Enfold.
Cheers!
Sarah -
AuthorPosts
- The topic ‘Events Calendar WD & GMaps’ is closed to new replies.