Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Wrapped comments_popup_link code in is_singular check (function behav…

…ior changed in 2.8.0)
  • Loading branch information...
commit f5a168d3955b104dd5f4c53f421f0f6f0dfa808b 1 parent ec1ffd7
Gordon Brander authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 content/content-default.php
4 content/content-default.php
View
@@ -42,7 +42,9 @@
<p class="filed categories alt-font tight"><?php printf(__('Posted in %s.', 'carrington-blog'), get_the_category_list(', ')); ?></p>
<?php the_tags(__('<p class="filed tags alt-font tight">Tagged with ', 'carrington-blog'), ', ', '.</p>'); ?>
- <p class="comments-link"><?php comments_popup_link(__('No comments', 'carrington-blog'), __('1 comment', 'carrington-blog'), __('% comments', 'carrington-blog')); ?></p>
+ <?php if (!is_singular()) { ?>
+ <p class="comments-link"><?php comments_popup_link(__('No comments', 'carrington-blog'), __('1 comment', 'carrington-blog'), __('% comments', 'carrington-blog')); ?></p>
+ <?php } ?>
<p class="by-line">
<span class="author vcard full-author">
Please sign in to comment.
Something went wrong with that request. Please try again.