How to show the category of custom taxonomy

Question

In the built category, we can use has_category() and the_category() to show if the post has category and the name of the category.

Now, I am using my custom post type and custom taxonomy. The above two functions are invalid in this case. I wonder what’s the API to use here? Thank you.

0
Shark Deng 2 months 0 Answers 10 views 0

Leave an answer