New Landing How can we help? Themeforest Theme Support Pinpoint Google maps not loading when using SSL

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Pinpoint
  • #157367
    ckara
    Member
    Post count: 51

    Hi, My page is using SSL and the google maps is no longer loading up on the page. Thanks for your help!

    #157540
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Open up functions.php on line #142 change this,

    wp_register_script('maps', 'http://maps.google.com/maps/api/js?sensor=false', 'jquery', TRUE);

    to

    wp_register_script('maps', 'https://maps.google.com/maps/api/js?sensor=false', 'jquery', TRUE);

    and on line #532, change this http to https too.

    $url = "http://maps.google.com/maps/api/geocode/json?sensor=false&address=$address";

    Let us know,

    Thanks,
    laranz.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.