Viewing 5 posts - 31 through 35 (of 35 total)
  • Author
    Posts
  • #990736

    Hi,

    Please post your google api key and I’ll add it to the functions.php file.

    Best regards,
    Dude

    #990756

    Oh!! Thank you Dude!!!

    #990763

    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

    #990764

    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!

    #990767

    Hi,

    No problem, glad I could help you :)

    Best regards,
    Dude

Viewing 5 posts - 31 through 35 (of 35 total)
  • The topic ‘Google Maps for development purposes only’ is closed to new replies.