/ Published in: PHP

In Wordpress if you are using a custom taxonomy you can get its details (id, slug, etc) using this snippet.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$terms = get_the_terms($post->id, 'TAXONOMY_NAME');
URL: http://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name
Comments
