Tagged: google api key
Hi!
It works. There was an another problem with Google Maps!
You can close this ticket!
Thanks :-)
I generate an API Key for Google Maps.
And put this Code-Snippet into the functions.php
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=AIzaSyBOhipDPxLWk4OEwU7s9527X66xxxxx', array('jquery'), '3', true);
wp_enqueue_script('avia-google-maps-api');
}
add_action('init', 'ava_googlemaps_apikey');
It seems, that there isn*t any java scirpt problem anymore. But the site dont show Google Maps (in the footer).
Do you have any Ideas?