projects
/
WP-Themes
/
DiscoverKZOO.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
891ba05
)
No longer show comments on events
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 11 Feb 2016 17:31:15 +0000
(12:31 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 11 Feb 2016 18:42:26 +0000
(13:42 -0500)
single.php
patch
|
blob
|
history
diff --git
a/single.php
b/single.php
index
16f5ff4
..
5e1f4f3
100644
(file)
--- a/
single.php
+++ b/
single.php
@@
-56,9
+56,11
@@
</header>
<?php echo the_content(); ?>
</article>
- <?php if ( comments_open() || get_comments_number() ) :
- comments_template();
- endif; ?>
+ <?php if (get_post_type( $post ) != "ai1ec_event") {
+ if ( comments_open() || get_comments_number() ) :
+ comments_template();
+ endif;
+ } ?>
</div>
</div>
</div>