wordpress taxonomy name by id code example Example: How do I get current taxonomy "term id" on wordpress? $obj = get_queried_object(); echo $obj->term_id;