Tagged: google maps issues
Hi, i purchased enfold theme, actually using child version.
I faced some issues with google maps, using layout editor. The maps are not showed
Google api key is ok
I also added the following code on function.php as you suggested in a post.
Can you help me?
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’);
Hey BernardoBussi,
The WordPress login details are not working, could you check and verify please?
Best regards,
Rikard
Hi,
Thanks for that, login details are working. First off, could you try updating the theme to the latest version (4.2) to see if that helps please? http://kriesi.at/documentation/enfold/updating-your-theme-files/
Also, I’m not sure why you need to add the API in a function, did you try to remove the function and simply add the API key under Google Services in the theme options?
Best regards,
Rikard