Hi,
Please post your google api key and I’ll add it to the functions.php file.
Best regards,
Dude
Oh!! Thank you Dude!!!
Hi!
I added the api key and the map works now: http://www.fusteriahenares.com/contacte/
The final code is:
// Add scripts to wp_head()
function child_theme_head_script() { ?>
<script id='avia_gmaps_framework_globals' type='text/javascript'>
/* <![CDATA[ */
var avia_framework_globals = avia_framework_globals || {};
avia_framework_globals.gmap_api = 'AIzaSyAMeG0we5Yf6S7TO_c5Rjz0XLow0xgd_eY';
avia_framework_globals.gmap_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=AIzaSyAMeG0we5Yf6S7TO_c5Rjz0XLow0xgd_eY&callback=aviaOnGoogleMapsLoaded';
avia_framework_globals.gmap_builder_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=AIzaSyAMeG0we5Yf6S7TO_c5Rjz0XLow0xgd_eY&callback=av_builder_maps_loaded';
avia_framework_globals.gmap_backend_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&callback=av_backend_maps_loaded';
avia_framework_globals.gmap_source = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=AIzaSyAMeG0we5Yf6S7TO_c5Rjz0XLow0xgd_eY';
avia_framework_globals.gmap_avia_api = 'http://www.fusteriahenares.com/wp-content/themes/enfold/framework/js/conditional_load/avia_google_maps_api.js';
/* ]]> */
</script>
<?php }
add_action( 'wp_head', 'child_theme_head_script' );
Regards,
Peter
OOoohhhh!!!!!! Thank you very very very very very much!!!!
I’m very happy!!!!!
Thank you and believe me, i’m sorry for all the inconveniences!!!
A pleasure! Kind regards!
Hi,
No problem, glad I could help you :)
Best regards,
Dude