Forums › Forums › Search & Filter Pro › acf data in search box
- This topic has 6 replies, 2 voices, and was last updated 5 years, 6 months ago by
Anonymous.
-
Anonymous(Private) September 24, 2020 at 12:57 am #260593
hi,
i have a couple of acf search fields like:
1. monthly payment
2. due at signing (down payment)is there anyway to make the search box work so that it includes those acf field data?
for example, i would want “toyota $0 down” to pull up all toyotas that have “0” as the down payment acf value.
thanks!
Trevor(Private) September 24, 2020 at 7:26 am #260624You can only have one general text search field per form, one form per results page. 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).
Anonymous(Private) September 24, 2020 at 7:31 am #260628Hi! Thank you! Sorry I forgot to mention my situation. I already have Relevanssi installed and built up the index with my custom post type as well as its acf data.
However when I type in something like “audi 0 down” I want all my audi cars with $0 down payment to show. It doesn’t work so I was wondering if you could guide me or if you can tell me if its even possible to make that search work.
-
AuthorPosts