Forums Forums Search & Filter Pro ACF Search field

Tagged: 

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

    Hallo,

    Is it possible for the Searchfield from S&F Pro to only index one ACF field, instead of all post meta?

    Trevor
    #186582

    You refer to the free text entry search box?

    If so, 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 it up and build its index (make sure it is indexing the desired post types AND the taxonomies/custom fields that you want to search).

    A simpler, possible alternative is to use WP Extended Search (which requires no options to be set in our plugin), but sometimes it doesn’t do as much as Relevanssi can.

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