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