Forums Forums Search & Filter Pro Add Text Field in Post Meta

Viewing 2 posts - 1 through 2 (of 2 total)
  • Trevor
    #253146

    You want to be able to have a Text search box (where the user types in a location) and for it to search a custom field? If so, note that our plugin does not directly allow you to do text searches of individual Post Meta (custom fields) and Taxonomy (Category, Tags and Taxonomies) data/terms. 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 2 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 Relevanssi up and build its index (make sure it is indexing the desired post types, custom fields AND any taxonomy that you want to search).

    You can have only one Text search field per form, and one form per page. So, you can’t have multiple boxes to each search a different custom field.

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