Forums Forums Search & Filter Pro Can't find custom fields

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #148897

    Hello,
    I have noticed that search filter pro can’t find custom fields values.
    I have checked the “Fields” checkbox in config panel, rebuilt cache but nothing happens.

    How can I solve the problem?

    Thank you!

    Trevor
    #148932

    That ‘fields’ option is not needed to be checked (so uncheck it).

    You are adding a Post Meta type field to the form and looking in the meta keys are they are not showing? If so, are they made by a plugin (like WooCommerce, or …)?

    Anonymous
    #148936

    Hello Trevor,
    thank you for your quick reply.
    I have unchecked it but nothing happened again.
    I’m using ACF with custom post type.

    Trevor
    #148975

    Is it the fields that it is not finding, or the values in those fields?

    Anonymous
    #148977

    The values

    Trevor
    #148992

    ACF makes 3 meta keys for each field, like this:

    #1 _location
    #2 field_5a16902ae5c07
    #3 location

    You might have used key #1 in each case, but you need to use key #3, without the underscore at the start of the key name.

    Anonymous
    #149526

    Hello Trevor,
    I’m using the generic search field to search custom fields.
    Can I do it?

    Trevor
    #149530

    Ah.

    Our plugin does not directly allow you to do text searches of individual Post Meta data. 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 8 posts - 1 through 8 (of 8 total)