How to Get Single Taxonomy ID in WordPress

On previous days I’m working on GetaJob Website, GetaJob is a site dedicated to all Filipinos looking for jobs online, and employers looking to hire Filipinos. My task on the site is to get all Job Category (a custom taxonomy) and display Job Category (a custom taxonomy) on each Job listed or Post, lets begin with this short wordpress tutorials.

What is get_the_terms() WordPress function?

get_the terms() Retrieve the terms of the taxonomy that are attached to the post, visit WordPress codex for more information.

To get the taxonomy name on each particular custom taxonomy ID, change the above code to this

That’s it a very simple tutorial, hope this will help in your WordPress project and web development.

by Ryan Sutana