Home Forums ACF PRO Showing tag name (not ID#)


Showing tag name (not ID#)

  • I’ve been reading through the forums, but can’t seem to get any of the solutions working for my site. I’m trying to display the ACF tags entered via a multi-select, but the site only shows the tag IDs.

    Current code:

                <?php the_field('2019_target_areas'); ?>

    Any advice?

    ACF settings

  • You have the field set to only return the Term ID. Doing this assumes that you’re going to do all the work of getting that name of each term yourself, or whatever else you want to do with that ID.

    If you don’t want to code this yourself then you should be returning Term Object

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Showing tag name (not ID#)’ is closed to new replies.