projects
/
WP-Themes
/
staffords.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf66815
)
added conditional for comments_template function
author
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 8 Jan 2016 19:30:48 +0000
(14:30 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 8 Jan 2016 19:30:48 +0000
(14:30 -0500)
single.php
patch
|
blob
|
history
diff --git
a/single.php
b/single.php
index
22e87ce
..
13e2fa3
100644
(file)
--- a/
single.php
+++ b/
single.php
@@
-63,7
+63,9
@@
?>
</footer>
</article>
- <?php comments_template('/comments.php'); ?>
+ <?php if ( comments_open() || get_comments_number() ) :
+ comments_template();
+ endif; ?>
</div>
</div>
</div>