This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Dropdowns not showing up and have search filter on the current page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Dropdowns not showing up and have search filter on the current page Reply To: Dropdowns not showing up and have search filter on the current page

#30664
Ernest MarcinkoErnest Marcinko
Keymaster

Sure, you can use this custom code to force dequeue the generated search styles:

function asp_deregister_all_styles() {
        wp_dequeue_style('wpdreams-ajaxsearchpro-instances');
}
add_action( 'wp_enqueue_scripts', 'asp_deregister_all_styles' );
add_action( 'init', 'asp_deregister_all_styles');
add_action( 'wp_print_scripts', 'asp_deregister_all_styles', 100 );
add_action( 'wp_print_styles', 'asp_deregister_all_styles', 100 )

Use this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!