Comment fix

This commit is contained in:
nikolark committed 2014-07-05 00:12:43 +02:00
1 parent 0d4cbee94f
commit 7c11a8ed37
1 file changed
+8 -2
+8 -2
View File
@@ -20,13 +20,19 @@
<?php the_post_thumbnail(); ?>
<?php if( is_single() || is_page() ): ?>
<?php if( is_single() || is_page() || is_home() ): ?>
<div class="entry-content"><?php the_content(); ?></div> <!-- .entry-content -->
<?php comments_template(); ?>
<?php else: ?>
<div class="entry-content"><?php the_excerpt(); ?></div> <!-- .entry-content -->
<?php endif; ?>
<?php if( is_single() ): ?>
<?php comments_template(); ?>
<?php elseif( !is_page() ): ?>
<span class="comments-link"><?php comments_popup_link(); ?></span>
<?php endif; ?>
</div>
</article> <!-- .post -->