title: Wordpress: if this post in single view has specific tag not show post thumbnail
body: <p>How can i do this in WordPress loop:<br />
  If this post in single view has <strong>specific tag (like: video)</strong> not show post thumbnail!</p>
  
  <p>I tried this in loop, but this code not working correctly:</p>
  
  <pre><code>&lt;?php if ( is_tag( 'video' ) ) { ?&gt;
         // do nothing
         &lt;?php }else{ ?&gt;
      &lt;div class="single-img"&gt;
          &lt;?php if ( has_post_thumbnail() ) {the_post_thumbnail();} ?&gt;
      &lt;/div&gt;
  &lt;?php } ?&gt;
  </code></pre>