Support » Fixing WordPress » How To Echo / Get Term Taxonomy name in Tax.php

  • Resolved joehuffman2

    (@joehuffman2)


    I don’t know if I am just not finding the right functions but how to you retrieve the taxonomy title for a term in taxonomy.php?

    If you had the taxonomy “fruit” and the term “apples”, you can use get_the_term to retrieve apples, but how can you do the same for the taxonomy? I am trying to find the taxonomy name to perform a redirect.

    Is it possible to use something like term->taxonomy? Is there a value for the taxonomy name I can get from the $term variable?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How To Echo / Get Term Taxonomy name in Tax.php’ is closed to new replies.