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