Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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
    Angus

    #836031

    Hey 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,
    Basilis

    #836054

    Thanks Basilis.

    Sorry, but I’m a novice at coding, probably not even that, where do I paste the code you’ve provided?

    #836176

    Hi,

    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 Torvik

    #836343

    Thanks, 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

    #836417

    OK, 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

    #836561

    Hi!

    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

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Events Calendar WD & GMaps’ is closed to new replies.