Home › Forums › Front-end Issues › Custom Taxonomy in ACF › Reply To: Custom Taxonomy in ACF
ah..
On the field in admin you can select wether you want it to return the term ID or the term object.. Switch it over to term object then do this where you want the name:
<?php echo $term->name; ?>
This is based on that in your foreach loop you call the single term $term. So just switch that out if you use something else 🙂
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.