removing image from front page blog feed
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 21 Nov 2017 16:35:36 +0000 (11:35 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 21 Nov 2017 16:35:36 +0000 (11:35 -0500)
image on the front page blog feed removed

parts/blog-feed-front.php

index 1920f6a..f99f03e 100644 (file)
@@ -6,17 +6,17 @@
     <?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>