Home › Forums › Front-end Issues › Displaying Multiple Values from Custom Taxonomy Terms › Reply To: Displaying Multiple Values from Custom Taxonomy Terms
The exact code to use will depend on what you’re returning from the image field.
Generally what you need to do is supply the right post_id value for the ACF field. This example will get the value in the image field.
$image = get_field('industry_image', $term->taxonomy.'_'.$term->term_id);
The image field documentation goes into more detail about displaying the image based on what you’re returning which can be an Object, URL or ID. http://www.advancedcustomfields.com/resources/image/
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.