- This topic has 2 replies, 2 voices, and was last updated 10 years, 4 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › is_sf_form not work
Hi Ross,
I used
function is_sf_form(){
global $sf_form_data;
global $wp_query;
$search_query = $wp_query->query;
return $sf_form_data->is_valid_form() && !empty($search_query);
}
for create is_sf_form function in my header file for showing a tag just in my search result!
after update to 2.0.1 this code not work!
I changed $sf_form_data to $searchandfilter but not work
Hi Hamid
I’ve just emailed you a fix
Please see the notes I’ve just added for you here:
Thanks