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

Tagged: 

  • This topic has 3 replies, 2 voices, and was last updated 9 years ago by Anonymous.
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)