<?php foreach($lastposts as $post) : setup_postdata($post); ?>
<li class="home-feed-post grid-block">
<div class="row">
- <?php if (has_post_thumbnail( $post->ID )) { ?>
+ <?php //if (has_post_thumbnail( $post->ID )) { ?>
<!-- <?php //$url = get_the_post_thumbnail_url($post->ID, 'glm-blog-image'); ?> -->
- <!-- <div class="small-12 medium-2 home-feed-post-image columns" style="bacground: url(<?php echo $url; ?>)"> -->
- <div class="small-12 medium-4 home-feed-post-image columns">
+ <!-- <div class="small-12 medium-2 home-feed-post-image columns" style="bacground: url(<?php //echo $url; ?>)"> -->
+ <!-- <div class="small-12 medium-4 home-feed-post-image columns"> -->
- <?php echo get_the_post_thumbnail($post->ID, 'glm-blog-image', array('class' => 'blog-excerpt-img-wrap')); ?>
- </div>
- <div class="small-12 medium-8 columns home-feed-post-content">
- <?php } else { ?>
+ <?php //echo get_the_post_thumbnail($post->ID, 'glm-blog-image', array('class' => 'blog-excerpt-img-wrap')); ?>
+ <!-- </div> -->
+ <!-- <div class="small-12 medium-12 columns home-feed-post-content"> -->
+ <?php //} else { ?>
<div class="small-12 columns home-feed-post-content">
- <?php } ?>
+ <?php //} ?>
<h2 class="title-posts" href="<?php the_permalink(); ?>"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<span class="meta date"><?php the_time('F j, Y') ?></span>