Forums Forums Search & Filter Pro Searching based on tags, categories AND post meta from single search field

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

    Hi, I’m using the filter to allow users to search for Custom Posts based on the custom categories that the posts have been tagged with (in this case, doctors that have been tagged with specialities such as heart, lungs etc), but within the same field, I’d also like the user to be able to search for the name of the doctor (displayed both in the Custom Post title, and within a custom field).

    Is there a way that I can allow the user to search for both post names or custom fields, and categories within the same field, as if they were searching for a keyword.

    Thanks for any help you can give regarding this.

    Kind regards,

    David

    Trevor
    #142301

    The Search & Filter Pro Text Search field uses the standard WordPress search, so looks only in the Post Title and Content. To help you control this better, on the form’s Advanced settings tab you will see settings for Relevanssi.

    The documentation for this is here:

    https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/

    You would need to install and activate the free Relevanssi plugin as well.

    Then set it up and build its index.

    Some way down the form is a single entry setting to support custom fields. Taxonomies are more easily set up.

    Note that we do not support any of the formatting options in Relevanssi. We use it to allow you extend what is searched, and what relevance is placed on the content.

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