Viewing 3 posts - 31 through 33 (of 33 total)
  • Author
    Posts
  • #775815

    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

    #777174

    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.

    #778711

    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

Viewing 3 posts - 31 through 33 (of 33 total)
  • The topic ‘Enfold: Removing the search magnifying glass and adding in the search field’ is closed to new replies.