Forums › Forums › Search & Filter Pro › Filters are showing values instead of labels
Tagged: values labels
- This topic has 14 replies, 3 voices, and was last updated 4 years, 4 months ago by Ross.
-
Anonymous(Private) July 12, 2020 at 7:18 pm #252505
Hello,
I have a similar (or the same) issue like described in “Using ACF select field for dropdown (label/value issue)” (https://support.searchandfilter.com/forums/topic/using-acf-select-field-for-dropdown-labelvalue-issue/).
I am using Search & Filter Pro, ACF Pro, CPT UI, Beaver Themer and Beaver Builder to create a Beaver Themer Layout Archive to display a resource list with some filters.
For that I created some custom fields with ACF Pro where I only specified labels (not values) for the Choices (for example for a checkbox). That worked and the filter displayed the labels like I wanted.
Then I changed the Choices of the custom fields by specifying both the values and the labels. So I added the values (e.g. red : Red).
Now, after that I have the problem, that the filter are not displaying the labels anymore but the values when I open them in an incognito window.
It’s also weird that when I check the filter via the Beaver Builder preview mode, that only the filters with Conditional Logic are displaying the values and the others are displaying their labels.
I also like to add that I changed the naming of some custom fields in this process and reconnected them etc., but for me that looks fine and the filtering itself works right.
Can somebody look into it?
Trevor(Private) July 13, 2020 at 11:13 am #252561When you made these changes, did you make them in the field group field settings, as it is possible that you may need to reopen previously saved posts where these changes might need to be applied, and check the values there and re-save. You could try this for a couple of posts that might have disappeared or have the wrong values, and see if the correct values now appear.
When you make Field Group setting changes they only apply to the post meta table for posts saved after that point, and we do not look at the field group settings at all, we only look at the Post Meta table.
Anonymous(Private) July 13, 2020 at 1:39 pm #252589I made these changes in the field group field settings. I also reopened previously saved posts and saved them again. But by doing this I haven’t seen any wrong connections of the posts to the custom fields. And I still have the same issue showing up on the front-end.
-
AuthorPosts