Forums Forums Search & Filter Pro Multiple search fields

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #134943

    Hi, I’m trying to accomplish result where i have two search fields. In the first one i’m going to use for free search and the another is used just for location search. At the moment when i fill the fields and press search the request is recognizing only one of the search fields and fills the other with same text.

    I’m displaying results with shortcode and i have created custom results.php in my child-theme. I have Ajax on.

    So my question is it possible to get the both search field values into the request?

    Trevor
    #134977

    You can only have one form field of each type/data source combination on the form. If you are trying to have two textual search fields, this will not work.

    Anonymous
    #135055

    Okay, is it possible to turn post meta field into text field? I only need to search for ACF-location field, but it would need to be text field search.

    Trevor
    #135071

    It isn’t no. The reason is that the text search field uses the standard WordPress search system (or Relevanssi if you are using that instead), and the other fields search in our post cache tables. The result hits from both are combined and (If necessary) de-duplicated to give the final search results.

Viewing 4 posts - 1 through 4 (of 4 total)