• I have searched the forums for this and can’t seem to find anything that helps.

    Basically I have used a plugin called Cube Portfolio, and it isn’t working properly as there are 2 jQuery version and there clashing. I can cancel the 1.9.1 version as that is in the header.php, however I can not see where the 1.10.2 version is being called from.

    If I delete the first version it breaks a lot of functionality on the homepage, but my portfolio blog works. I need to cancel 1.9.1 working on one page on this website. Is there a bit of code I can put in the head that will just cancel the 1.9.1 version out?

    You can find the site here
    And the page with the portfolio is here

    All help is really appreciated!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I’m sorry no one responded to your question. You’ve probably figured this out by now, but for anyone else finding this via search, you can use wp_dequeue_script(). By calling the function from a callback added to ‘wp_print_scripts’ you can be reasonably sure the jquery has already been enqueued. You will need to determine the handle under which the script was enqueued in the first place. This can be done by digging through code that enqueued it or by examining the global $wp_scripts.

    It’s also possible a plugin was doing it wrong and never enqueued the script, and instead directly injected a meta link or script src to an external CDN. You would need to determine how the links were injected in order to determine how to stop it.

Viewing 1 replies (of 1 total)

The topic ‘jQuery Issues’ is closed to new replies.