Forums › Forums › Search & Filter Pro › ACF relationship field and Post Meta
Tagged: acf relationship, post meta
- This topic has 5 replies, 3 voices, and was last updated 8 years, 7 months ago by Ross.
-
Anonymous(Private) April 11, 2016 at 2:58 pm #42294
Hi, I have Search and Filter Pro. I’ve added a Post Meta field in the Search Form UI; It’s a choice input based on a relationship type ACF field. The generated input box on the frontend shows only a list of ids of the related pages instead of their names.
Even if I switch from “get options automatically” to “Manual” in the UI and try to browse the available values, the option list is wrong: I only get post ids and not posts’ names. Why?
Thank you
Ross Moderator(Private) April 11, 2016 at 5:02 pm #42311Hi Michele
Are you just looking to get the correct labels in to your ACF relationship field?
S&F provides a filter for every field (like ACF) so you can change the options/labels in that field:
I think this user was looking for the same functionality (we don’t support relationship fields out of the box but this snippet should do the trick):
https://support.searchandfilter.com/forums/topic/filter-dropdown-options/#post-34366Thanks
Ross Moderator(Private) April 12, 2016 at 11:22 am #42425You should be able to, if you choose select or multiselect input type then you can tick the combobox option 🙂
Thanks
-
AuthorPosts