Home › Forums › ACF PRO › Save and show taxonomy name instead of ID › Reply To: Save and show taxonomy name instead of ID
You have the field set to return term IDs, if you want term objects then you need to change that.
If the field is still returning IDs or it crashes then you have an issue somewhere else.
Looking at your code, you are trying to do_shortcode()
on the returned value. This means that you are trying to call this on a term ID, which will have no affect, or you are trying to call this on a term object, which will crash the site because do_shortcode() expects a string to be passed.
What is it that you think you want to do when you call do_shortcode()?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.