New Landing How can we help? Themeforest Theme Support Dante Google maps conflict

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #60938
    lamanagement
    Member
    Post count: 5

    How do I prevent the following code from displaying on the web site?

    <script type='text/javascript' src='http://maps.google.com/maps/api/js?sensor=false'></script>

    I found references to this in the helpers.php and map.php files but commenting it out doesn’t make a difference. It still displays on the site?

    Thanks in advance for your help!

    #61244
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit functions.php
    Find this code at line 175

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

    Thanks

    #61247
    lamanagement
    Member
    Post count: 5

    Perfect! Thanks!

    #61250
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome
    Thanks 🙂
    With Best Regards
    Swift Ideas

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

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

License required for one of the following items
Login and Registration Log in · Register