Hello,
Thanks for the feedback! I’m glad you enjoy ACF Extended! The Taxonomy Terms field “Default Value” setting require Terms ID to work properly. You can also set one ID per line if you want to set multiple default value (for checkbox & select field type)
Making that setting compatible with slugs would require extra work as ACF doesn’t support such behavior out of the box. I may add that feature in the future, along with the “Conditional Logic” using slugs feature request. See Trello Board: https://trello.com/c/8m91Pm8V/570-taxonomy-terms-add-term-slug-support-for-conditional-logic
There’s no ETA yet tho.
Have a nice day!
Regards.
Thanks that works! I should have tried ID too I guess, but the description led me to believe no specificity was required.
I am noticing another issue, but I am not sure if I should start another topic please let me know if that’s more appropriate:
Its seems the return value only returns ID no matter if you choose object or name. Is this a part of the same issue?
Hello,
Yes you’re right, I’ll probably tune the description to make it a bit more descriptive.
Regarding the “Return Value”, I just tested it and it works fine. Please make sure that you don’t have an another field with the same name, ACF may pick the other field configuration in some specific situations (when using local fields).
Try to start with a blank new field group, new field and a blank page.
Hope it helps!
Regards.
The issue may be related to me using get_post_meta() vs get_field()
Sorry for wasting your time, I’m not being a very good debugger today.
Thanks again and I appreciate your fast responses!
Haha! No worries. Yeah it’s normal then, get_post_meta() doesn’t format value, as it is just the native WordPress function to retrieve value from the DB.
You should stick to ACF functions when it comes to ACF. In fact get_field() retrieve the value from the DB AND format it based on the field settings.
Have a nice day!
Regards.
I have the same issue. I entered the term value to set the default value of a taxonomy field but it doesn’t work.
-
This reply was modified 4 years, 10 months ago by
awjensen.
Hello,
Thanks for the feedback! Please read my answer above:
The Taxonomy Terms field “Default Value” setting require Terms ID to work properly. You can also set one ID per line if you want to set multiple default value (for checkbox & select field type)
Hope it helps!
Regards.