How to print taxonomy id of the current taxonomy term
You can use below code to get Taxonomy id by Taxonomy Name

 $taxonomy_term = taxonomy_get_term_by_name('Taxonomy Term Name');
 $tid = $taxonomy_term&gt;tid;