• So if I use the following script in footer
    <script src="<?php bloginfo('template_url'); ?>/js/vendor/jquery-3.2.1.min.js"></script>
    It messes with plugins that rely on wordpress jquery version. But if I use it in header is render-blocking which is not good for performance. Maybe using no-conflict?

Viewing 2 replies - 1 through 2 (of 2 total)
  • No mention of whether you are also using jQuery Migrate 3.3.x? That is a must and this plugin can do both for you: https://wordpress.org/plugins/jquery-updater/

    I’ve used the plugin with WordPress v5.4 and v5.5 without problems, although your mileage will vary depending on plugins used.

    Thread Starter snippet24

    (@snippet24)

    Thank you I wasn’t aware of it, it does that plugin unfortunately however break the “Envira gallery plugin” and also google maps via advanced custom fields plugin

    • This reply was modified 5 years, 10 months ago by snippet24.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘What to do when a script requires a different jquery version’ is closed to new replies.