Support » Fixing WordPress » java script appearing before each page opens

  • Each time I click on a link within my website, the following script appears:

    /* Add your JavaScript code here. If you are using the jQuery library, then don’t forget to wrap your code inside jQuery.ready() as follows: jQuery(document).ready(function( $ ){ // Your code in here }); — If you want to link a JavaScript file that resides on another server (similar to

    How do I stop this happening.

    Thanks

    Cheers

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi, it seems that it could be the Simple Custom CSS and JS plugin:

    https://i.imgur.com/h2qEkT9.png

    If you check the code it is using CSS/PHP/JS style comments (highlighted part inside the /* Add your ... */ tags), not HTML style comments which start with <!-- -->.

    Try deleting those lines in the placeholder inside the plugin options, or disabling the plugin itself and see if that makes a difference. Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘java script appearing before each page opens’ is closed to new replies.