Support

Account

Home Forums General Issues Show taxonomy image on index page Reply To: Show taxonomy image on index page

  • Hi @ruriko,

    Thanks for the post.

    To display the values from a Taxonomy term, you will need to add a string containing the the term’s taxonomy and ID in the following format; “{$term->taxonomy}_{$term->term_id}” as a second parameter to the get_field() function in order to target the term.

    Instead of this, a term object can also be passed like so:

    <p><?php the_field('field_name', $term); ?></p>