- This topic has 1 reply, 2 voices, and was last updated 9 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 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 › No search results
I just bought your plugin. Creating the search form is easy and works as expected. I am going to use a number of ACF’s to query rental homes on a large number of properties like city, number of bedrooms, facilities et cetera.
To test I only added city with a drop down with several options. I do not get any results although two pages have the ACF set.
The templates Search page uses the WordPress loop. When adding a search string field to the form the difference is obvious, the parameter is now _sf_s instead of s (changing it in the url will give results). When adding other custom field types the variable names vary (with a custom field city SF names it _sfm_city in the query).
The template search page is preferred as this is already designed and styled to fit in to the site.
How can I display the search results by using the templates search.php file? I’m trying to locate the starting point by debugging the site but the handling of the search string seems to be to deep in to the WordPress code to adapt it there. This would mean the input from the search form to WordPress needs to be the way to go?
Any help in the right direction would be appreciated.
Wilbert