- This topic has 1 reply, 2 voices, and was last updated 3 years, 11 months ago by .
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.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
We also use cookies to store items in your cart as well as allowing your to login on the site.
You can adjust all of your cookie settings by navigating the tabs on the left hand side.
By continuing to use this site, you also agree to our Privacy Policy.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy