Forums › Forums › Search & Filter Pro › Searching Advanced Custom Fields
Tagged: V3
- This topic has 9 replies, 2 voices, and was last updated 4 years, 1 month ago by Trevor.
-
Anonymous(Private) November 19, 2020 at 5:48 pm #267172
I’m looking to create something similar to the demo. I want to search ACF content (http://www.alchemy2.apixelabove.com/alc-properties/availabilities/) I’m having an issue with seeing how to create the dropdowns, etc.
Thanks
Trevor(Private) November 20, 2020 at 9:42 am #267229You should be able to access and search ACF fields, yes. They are Post Meta field objects in the Form UI. To make Dropdown selects, use the ‘Choice’ option/tab in the field settings.
Note that, with fields made by ACF, when selecting the meta key, note a ‘gotcha’ with ACF ….
… it makes 3 meta keys per field, like this (in this example for a field named ‘land’):
#1
_land
#2field_52f0fc4334f52
#3land
In our Meta Key selection list, you need to use key #3, without the underscore at the start of the key name. If you choose #1 by mistake, in the field choices you will see the name of #2.
The fields will only show in the list if you have actually entered data in those fields inside posts and saved them. To define them alone without doing that, they will not show up, as our plugin does not look at the Field Group definitions, but at the actual data stored in the Post Meta table.
Anonymous(Private) November 20, 2020 at 2:26 pm #267311This helps a lot, thanks. I have another question. For results how can I get the plugin to update by current page, ie like the demo? Right now I’m pulling out all the post data and displaying it in a table.
(http://www.alchemy2.apixelabove.com/alc-properties/availabilities/)
Thanks for all your help
Anonymous(Private) November 22, 2020 at 11:25 pm #267453Is there a way to format the results on a designated results page? I’d like to format them in the same format as the page the search form is on.
http://www.alchemy2.apixelabove.com/alc-properties/availabilities/
-
AuthorPosts