Tagged: google map
-
AuthorPosts
-
July 1, 2016 at 11:43 am #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=editGEMEINDESTRASSE 4
SÖLDEN
AustriaBesides, is also possible to only point out the Country or City (meaning that I don’t have a street address)
July 4, 2016 at 7:54 am #656399Hey 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,
IsmaelJuly 6, 2016 at 5:29 am #657322Hello Ismael, it´s supposed to paste that code into the functions.php file? Where i can do it exactly. Thanks.
July 6, 2016 at 6:14 am #657327Hey!
Yes please, and that will do fix the issue you are dealing with.
Thanks a lot for your understanding.Regards,
BasilisJuly 11, 2016 at 4:51 am #659063Any update on the fix? Not working on my website either.
July 11, 2016 at 5:10 am #659068Hi!
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,
IsmaelJuly 13, 2016 at 2:39 pm #660432Thanks so much for posting this fix. Made my day a lot easier.
-
AuthorPosts
- The topic ‘Content Element Google Maps’ is closed to new replies.
