Tagged: ajax search, header, magnifying glass, search, search box
Hi!
Add this filter in the functions.php file if you want to disable the ajax search.
/*
* disable Ajax search
*/
add_filter('avf_frontend_search_form_param', 'avia_deactivate_ajax_search',10,1);
function avia_deactivate_ajax_search($params)
{
$params['ajax_disable'] = true;
return $params;
}
Regards,
Ismael
Dear Ismael,
I put in function.php
/*
* disable Ajax search
*/
add_filter(‘avf_frontend_search_form_param’, ‘avia_deactivate_ajax_search’,10,1);
function avia_deactivate_ajax_search($params)
{
$params[‘ajax_disable’] = true;
return $params;
}
NOW NOT WORKINg THE SEARCH FUNCTION: http://studiobest.hu/test/
Pls try to search st.
Ty,
d.
Hi,
you asked for disabling ajax search, so Ismael provided a code for you which does exactly this. I’ll close this thread now as it’s getting very confusing here. Please open a new ticket where you mention only one issue/question per ticket.
Best regards,
Andy