/ Published in: PHP
URL: http://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name
In Wordpress if you are using a custom taxonomy you can get its details (id, slug, etc) using this snippet.
Expand |
Embed | Plain Text
$terms = get_the_terms($post->id, 'TAXONOMY_NAME');
You need to login to post a comment.
