I have two categories (our work and news) and only one single.php If looking at a single post in the news category then I want to show the thumbnail too so have inserted:
<?php if ( has_post_thumbnail() ) {the_post_thumbnail('medium');} ?>
But I dont want this to appear if viewing a single post within the our work category, what can I add to remove this for category ID#2?