]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentythirteen/content.php
WordPress 3.9
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / content.php
index d11e682abcf4342fd47d9aac69f90af9d90b4cd4..c34174043830b6f459df8dc9bce85194185d51b3 100644 (file)
@@ -12,7 +12,7 @@
 
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
        <header class="entry-header">
-               <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
+               <?php if ( has_post_thumbnail() && ! post_password_required() && ! is_attachment() ) : ?>
                <div class="entry-thumbnail">
                        <?php the_post_thumbnail(); ?>
                </div>