Ajax Live Search on 2 Characters
-
I have a search button at the top menu , with ajax live search enabled , but i want to trigger live search on 2 characters.
I have tried :
add_filter( ‘woodmart_ajax_search_symbols_count’, function (){
return 2;
} );
but it is not working
Hi xristoskon19,
Thanks for reaching to us.
Please remove your code and try to add the following PHP code snippet to the child theme functions.php file to fix this
add_filter( 'woodmart_ajax_search_symbols_count', function (){
return 2;
} );
Regards
Regards,
but thats the same ?
i tried “your” code and it doesnt work
Hi xristoskon19,
To assist you in the best possible manner, I kindly ask that you provide me temporary wp-admin info (wp-admin URL, username, password) to Private Content area, this will allow me to thoroughly investigate and address your concerns in a more efficient.
Regards,
Hi xristoskon19,
This is PHP Custom Code, which should be added to functions.php instead of style.css file. https://prnt.sc/Ax44vL1rftFu
Please check again.
Regards,
:@ im embarassed , thanks
Hi xristoskon19,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492
Your feedback is the motivation to improve our work and services.
Regards,