Support

Account

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?