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