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:
b26f4d5
)
remove featured image from ai1ec post type
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 29 Feb 2016 19:47:36 +0000
(14:47 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 29 Feb 2016 19:47:36 +0000
(14:47 -0500)
single.php
patch
|
blob
|
history
diff --git
a/single.php
b/single.php
index
15b962e
..
8a815ff
100644
(file)
--- a/
single.php
+++ b/
single.php
@@
-33,6
+33,7
@@
<header class="entry-header">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
<?php
+ if(get_post_type ($post) != "ai1ec_event" ){
if (has_post_thumbnail()) {
$image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), "full");
echo '<div class="blog-featured" style="background-image:url('.$image_data[0].');"></div>';
@@
-59,6
+60,7
@@
echo '.</b>';
?>
</div>
+ <?php } ?>
</header>
<?php if (!is_post_type("ai1ec_event")) { ?>