Forums › Forums › Search & Filter Pro › Search form with ACF & Divi
Tagged: V3
- This topic has 24 replies, 2 voices, and was last updated 3 years, 9 months ago by Trevor.
-
Anonymous(Private) January 19, 2021 at 9:43 pm #273250
Hi,
I’m using Search & Filter Pro to achieve the following:
Having a search form with two drop down fields that show post meta from AC
Showing the results on a new (archive) page in Divi.I’ve installed the extra Divi plugin add-on, ACF Pro.
In ACF, I’ve set up two checkboxes, with certain options set the output to label.
In SFP I’ve set up a search form with two post meta boxes, both targeting one post meta category from the ACF fields.But when I preview the search field; in the dropdown it shows: field_a3923uo9.
How do I get the labels from ACF to show in the dropdown, and how do I connect it to a Divi module to show the results in an archive grid?Thanks in advance!
Trevor(Private) January 20, 2021 at 12:10 pm #273279Note 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.
Anonymous(Private) January 20, 2021 at 1:17 pm #273298Awesome that worked.
I’m using Divi.
Now I’m just having trouble showing the search on a separate page and displaying the results customizable Divi module. Normally I edit the search results page in the Divi Theme Builder with the blog module.Ideally I would love to have a filter on the search results page that ajax-filters the results.
Can you help me?
-
AuthorPosts