- This topic has 1 reply, 2 voices, and was last updated 5 years, 3 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › ACF metakeys missing from search form metakey selector
Tagged: acf, missing metakey
Hi heldesk,
I have run into 2 issues with your plugin.
1)Trying to create a form based on ACF fields, I see the ACF fields duplicate, with one item of the couple starting with an underscore before the metakey.
I browsed the form and realised this is somehow a known issue, however none of the solutions suggested in the forum seems to work. I tried to rename the custom fields, as well as uninstall and clean the data of ACF before reinstalling, yet they still appear duplicated in S&FP.
2) one particular ACF field is not fetched by S&FP and I can’t find it in the metakey selector.
Any advice?
For #1. 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
#2 field_52f0fc4334f52
#3 land
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.
For #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.