Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM HTTPS for Google Maps in WP ESTATE

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years, 8 months ago.

  • Author
    Posts
  • #102091

    Anna
    Keymaster

    In functions.php at line 133 you have this line

    wp_enqueue_script(‘googlemap’, ‘http://maps.googleapis.com/maps/api/js?sensor=true&key=’.esc_html(get_option(‘wp_estate_api_key’, ”) ),array(‘jquery’), ‘1.0’, false);
    

    You should switch to maps-api-ssl.google.com so the line above will become

    wp_enqueue_script(‘googlemap’, ‘https://maps-api-ssl.google.com/maps/api/js?sensor=true&key=’.esc_html(get_option(‘wp_estate_api_key’, ”) ),array(‘jquery’), ‘1.0’, false);
    

    Thank you
    Anna

You must be logged in to reply to this topic.