Home › Forums › General Issues › Display Custom Taxonomy Fields on CPT › Reply To: Display Custom Taxonomy Fields on CPT
Sorry, that should be wp_get_object_terms()' and there is an extra
;` probably causing an error in the last bit of code.
But this is basically what you need to do. To get the field from the term/taxonomy you need to provide ACF with the right $post_id value. See: https://www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/
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.