chosen.jquery.min.js?ver=1.4.3 missed

Forums › Forums › Search & Filter Pro › chosen.jquery.min.js?ver=1.4.3 missed

Tagged: 

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #29151

    Hello!
    There’s one missing in code. What should I do with this?
    Details below.

    Anonymous
    #29152
    This reply has been marked as private.
    Ross Moderator
    #29278

    Ah yes, the new S&F doesn’t need it anymore.

    The issue is actually with the custom code I gave you from before.

    So the code from this:

    https://support.searchandfilter.com/forums/topic/taxonomies-not-being-appended-to-search-url/#post-21568

    Should be replaced with:

    wp_register_script( 'search-filter-plugin-build', home_url("/wp-content/plugins/search-filter-pro/public/assets/js/search-filter-build.js"), array('jquery', 'jquery-ui-datepicker'), '1.4.3' );
    wp_localize_script('search-filter-plugin-build', 'SF_LDATA', array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'home_url' => (home_url('/')), 'sfid' => '' ));
    
    wp_enqueue_script( 'jquery-ui-datepicker' );
    wp_enqueue_script( 'search-filter-plugin-build' );

    Basically, just remove all the chosen stuff.

    Thanks

    Anonymous
    #29288

    Thank you so much, Ross!
    Ok. The question is resolved.

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

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.