New Landing How can we help? Themeforest Theme Support Neighborhood Google maps not showing

Viewing 15 posts - 1 through 15 (of 15 total)
  • #118262
    Nigeltjuh
    Member
    Post count: 51

    Hey there,

    After updating my site to HTTPS google maps element doesn’t load my shops location.
    Neither on Contactpage or Who ware we page…

    any idea how 2 fix?
    kind regards,

    #118399
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Are you using the https plugin?

    – Kyle

    #118579
    Nigeltjuh
    Member
    Post count: 51

    hey kyle,

    No i’m not that plugin makes the page load even slower. I used “Fix SSL/Non-SSL Links”

    #118584
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please insert this code at functions.php pf child theme.

    function sf_enqueue_script_new(){
    wp_deregister_script('sf-maps');
    wp_dequeue_script( 'sf-maps' )
    wp_register_script('sf-maps-new', '//maps.google.com/maps/api/js?sensor=false', 'jquery', NULL, TRUE);
    wp_enqueue_script('sf-maps-new'); 
    }
    add_action('wp_enqueue_scripts', 'sf_enqueue_script_new', 111); 

    Thanks
    Mohammad

    #118596
    Nigeltjuh
    Member
    Post count: 51

    hey mohammad,

    this doesnt have any effect.

    #118613
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please try to use this code:-

    function sf_enqueue_script_new(){
    wp_deregister_script('sf-maps');
    wp_dequeue_script( 'sf-maps' )
    wp_register_script('sf-maps-new', '//maps.google.com/maps/api/js?sensor=false', 'jquery', NULL, TRUE);
    wp_enqueue_script('sf-maps-new'); 
    }
    add_action('init', 'sf_enqueue_script_new', 40); 

    OR

    Please open to edit functions.php of parent theme.

    Find this code:-
    http://maps.google.com
    Change to:-
    //maps.google.com
    

    Thanks
    Mohammad

    #118617
    Nigeltjuh
    Member
    Post count: 51

    hi,

    tryed both
    last one in function in root folder AND in Theme folder.

    none worked

    #118621
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me specific page url with issue and wordpress admin login detail to check and resolve the issue.
    Thanks
    Mohammad

    #118633
    Nigeltjuh
    Member
    Post count: 51
    This reply has been marked as private.
    #118709
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have resolved the issue so please check. I made change as suggested your previous and cleared the cache.

    Thanks
    Mohammad

    #118810
    Nigeltjuh
    Member
    Post count: 51

    Hey mohammad,

    thnx for the help. Now its a question of trying to get it SSL certified..

    thnx for the help

    #118812
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please ask to your hosting provider about this.
    Thanks
    Mohamamd

    #119498
    kytwb
    Member
    Post count: 1

    Did the update manually. Hope this will be fixed in the next update so I don’t have to re-apply if updating the theme.

    #119499
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I will inform to developer about it so you will not get this issue at next upgrade.
    Thanks
    Mohammad

    #119515
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I will inform to developer about it so you will not get this issue at next upgrade.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register