Forums Forums Search & Filter Pro No search results

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #84288

    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

    Trevor
    #84338
    This reply has been marked as private.
Viewing 2 posts - 1 through 2 (of 2 total)