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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.