I need to display the current term in my custom taxonomy in a single post.
example:
- My custom taxonomy is products and term of them is product-1, product-2 and products-3.
- My post is assigned to product-2
- And I want to print the current products = products-2 in my post
In fact, I need a function like WordPress's the_category();
but for my taxonomy like the_customtaxonomy();
UPDATE :
in facts i know i need to get id of this becuse i need to show a icon for this in my single , for example a function like the_category_ID();