projects
/
WP-Themes
/
petoskeyarea.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c3b4d
)
commenting out the post thumbnail and replacing with get attachment src to use the...
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 15 Aug 2016 15:02:43 +0000
(11:02 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 15 Aug 2016 15:02:43 +0000
(11:02 -0400)
parts/glm-blocks.php
patch
|
blob
|
history
diff --git
a/parts/glm-blocks.php
b/parts/glm-blocks.php
index
ad4ec32
..
c5c7abf
100644
(file)
--- a/
parts/glm-blocks.php
+++ b/
parts/glm-blocks.php
@@
-8,8
+8,8
@@
<?php $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($block->ID), 'glm_block_frontpage'); ?>
<a href="<?php echo $block->url;?>"<?php if($block->externalUrl){echo ' target="_blank"';}?>>
<?php endif;?>
-
<!-- <img src="<?php echo $image_data[0] ;?>" alt="">--
>
-
<?php echo $block->thumbnail;?
>
+
<img src="<?php echo $image_data[0] ;?>" alt=""
>
+
<!-- <?php echo $block->thumbnail;?>--
>
<?php if($block->url):?>
</a>
<?php endif;?>