title: Get term id of current taxonomy in wordpress
body: <p>I am trying to create a function which adds additional custom data fields to my taxonomy pages, I have found <a href="http://wordpress.org/extend/plugins/taxonomy-metadata/" rel="nofollow">this</a> plugin which add this capability.
  Now I can get the saving the custom data works fine.. however trying to get the metadata on edit form pages is another story..</p>
  
  <p>I've followed the documentation which says to use the following line..</p>
  
  <pre><code>get_term_meta($term_id, $key, $single)
  </code></pre>
  
  <p>However I am unable to get this to work.. I have to manually enter the term_id like so..</p>
  
  <pre><code>$term_meta = get_term_meta('36', '', true);
  </code></pre>
  
  <p>.. in order for it to work. 
  Can someone tell me what code I would need for php get the term_id?</p>