Forums › Forums › Search & Filter Pro › Included ACF field in the 'search' field results
- This topic has 5 replies, 2 voices, and was last updated 7 years, 7 months ago by
Anonymous.
-
Trevor(Private) February 7, 2018 at 12:01 pm #158023
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 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.
In the Relevanssi settings is a single entry setting to support custom fields.
Anonymous(Private) February 7, 2018 at 12:04 pm #158025Ahh, ok. I did wonder if this might be a workaround. I tried https://wordpress.org/plugins/acf-better-search/ but this didn’t seem to affect the output.
Might be a nice feature for the roadmap if it’s requested by others too.
Thank you.
Anonymous(Private) February 7, 2018 at 2:58 pm #158059Well, yes and no!
Yes, indexes the ACF field (verified by an increased term count and results via standard WP serach function). But no, it S&F search box doesn’t return the sames results.
It’s seaching the correct CPT, but seemingly ignoring the ACF field. It does return some results based on post title terms.
-
AuthorPosts