Forums Forums Search & Filter Pro Stop chosen.jquery.min.js?v fer=2.4.6 from loading

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #228516

    Hi!

    I’m using a plugin called jQuery Updater so I can use the latest version of jQuery. Howver it’s conflicting with the jQuery that Search & Filter loads. How do I stop chosen.jquery.min.js?v fer=2.4.6 from loading?

    Trevor
    #228521

    It might be simpler to specify the Select2 combobox option in WP-Admin -> Search & Filter -> Settings -> Combobox setting.

    Anonymous
    #228527

    Thanx for the reply. Unfortunately that didn’t solve my problem. I use jQuery version 3.4.1.2 with the following code to get a smooth slide down menu with a nice slide down animation.

    $(document).ready(function() {

    $(‘.hamburger’).click(function() {
    $(‘.hamburger’).toggleClass(‘is-active’);
    $(‘.slide-down-content’).slideToggle(300);
    });

    });

    When Search & Filter is active and the js from the plugin is loaded it interferes with my code so that the slide down animation does not work. If I disable Search & Filter it works as normal again. I have also tried the setting Lazy Load JavaScript. The effect is that the pages that don’t have the search form my menu works perfectly. But when I go to a page with a search form it stops working properly.

    You can see the difference yourself by visiting the pages below. Make sure to make the window narrow so you see the hamburger menu.

    User Name: kund
    Password: Granska1

    On this page it works: https://shopsimsonpowertools.webbson.se/

    On this page it does not work: https://shopsimsonpowertools.webbson.se/product-category/solid-jacks/

    Do you have a solution for this?

    Trevor
    #228532

    Is there a reason that you are using jQuery 3.x? It would be better not to load that.

    jQuery is available in 3 versions (1.x, 2.x and 3.x). In general, there is a good chance one will conflict with the other.

    All are currently maintained. One version does not replace the other, and all have current versions available.

    WordPress works and ships with 1.12.4

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