title: Getting custom taxonomy tags based on get_the_ID() (Outside for loop)
body: <p>I have a custom taxonomy called <code>type</code>. Type has the following options:</p>
  
  <ul>
  <li>Blog</li>
  <li>News</li>
  <li>Training</li>
  </ul>
  
  <p>I've created a draggable element (in Visual Composer) which will show these tags. Because of this, the draggable element is not part of <code>archive-resources.php</code>, so I can't run it through a loop.</p>
  
  <p>What I'm trying to do is:</p>
  
  <ul>
  <li>Get blog post ID (which I've done via <code>get_the_ID()</code>.</li>
  <li>Display <code>type</code> that is assigned that blog post.</li>
  </ul>
  
  <p>However, currently, all three <code>type</code> tags are displaying. Where am I going wrong?</p>
  
  <pre><code>$blogpostID = get_the_ID();
  $termType = get_terms('type');
  $output = '';
  
  foreach ( $termType as $termT ) {
      echo $output . '&lt;a href="'.get_term_link($termT).'"&gt;'.$termT-&gt;name.'&lt;/a&gt;';
  }
  </code></pre>