Home › Forums › General Issues › How do I show custom fields from tax on posts? › Reply To: How do I show custom fields from tax on posts?
Thanks. I am using get_the_terms(). It is retrieving the values but I need to only retrieve a specific index from the array depending on the page. For example:
– A person will see a page and then the name of an artist will appear.
– This artist name is a tax term.
– Only certain artist tax terms are used on specific pages.
What is happening on my end right now is that the first index of the array is being shown (the first artist term). Is there a way to only show terms that are associated with the current single post?
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.