Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #655672

    Dear reader,
    I would like to add the content element Google Maps.
    At the front end the page remains blank.

    By looking at the back end. I have entered the details but when pressing the button to fetch coordinates it remains blank.
    Hereby the address which I would like to have pointed out.
    http://world2cycle.com/wp-admin/post.php?post=995&action=edit

    GEMEINDESTRASSE 4
    SÖLDEN
    Austria

    Besides, is also possible to only point out the Country or City (meaning that I don’t have a street address)

    #656399

    Hey michael_world2cycle!

    Thank you for using Enfold.

    The issue is under investigation but we added a temporary solution in the functions.php file:

    function ava_googlemaps_apikey() {
    	$prefix  = is_ssl() ? "https" : "http";
        wp_deregister_script('avia-google-maps-api');
    	wp_register_script( 'avia-google-maps-api', $prefix.'://maps.google.com/maps/api/js?key=AIzaSyAidX34J-pkIHmOUFdVrt05MpzDHz-VZUk', array('jquery'), '3', true);
    	wp_enqueue_script('avia-google-maps-api');
    }
    add_action('init', 'ava_googlemaps_apikey');

    Regards,
    Ismael

    #657322

    Hello Ismael, it´s supposed to paste that code into the functions.php file? Where i can do it exactly. Thanks.

    #657327

    Hey!

    Yes please, and that will do fix the issue you are dealing with.
    Thanks a lot for your understanding.

    Regards,
    Basilis

    #659063

    Any update on the fix? Not working on my website either.

    #659068

    Hi!

    Did you generate your own api key and specify the http referrers in your google api console? Please create a new thread with the url to the site and the login credentials. Related thread here: https://kriesi.at/support/topic/enfold-google-maps-widget-not-working/#post-659066

    Regards,
    Ismael

    #660432

    Thanks so much for posting this fix. Made my day a lot easier.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Content Element Google Maps’ is closed to new replies.