Support

Account

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()?