feature image and data added
authorIan Weller <ian@gaslightmedia.com>
Mon, 23 Nov 2015 16:50:58 +0000 (11:50 -0500)
committerIan Weller <ian@gaslightmedia.com>
Mon, 23 Nov 2015 16:50:58 +0000 (11:50 -0500)
css/app.css
scss/_blog.scss
single.php

index 8145b95..377565d 100644 (file)
@@ -6945,7 +6945,7 @@ input[type="submit"].blogbutton {
   font-size: 12px; }
 
 #blog-posts-over > div {
-  margin: 25px 0; }
+  margin: 10px 0; }
 
 #blog-side-info #searchform {
   margin-bottom: 30px; }
index 63618a2..04fa725 100644 (file)
@@ -157,7 +157,7 @@ input[type="submit"].blogbutton {
     font-size: 12px;
 }
 #blog-posts-over > div {
-    margin: 25px 0;
+    margin: 10px 0;
 }
 #blog-side-info {
     #searchform {
index 81d5320..2f793ad 100644 (file)
@@ -7,12 +7,12 @@
                 <div class="row blog-post-container">
                     <div class="small-11 small-centered columns">
                         <div class="row">
-                            <div class="small-12 columns">
-                                <article id="<?php the_ID()?>" <?php post_class()?>>
-                                    <h1><?php the_title();?></h1>
-                                    <?php echo the_content(); ?>
-                                    <footer class="entry-meta small-12 medium-6 medium-push-3 center">
-                                        <?php $post_categories = wp_get_post_categories( get_the_ID() );
+                            <?php $thumbnail = get_the_post_thumbnail($post->ID, 'blog-feed-front'); ?>
+                            <?php if ($thumbnail) { ?>
+                            <div class="small-12 text-center columns blog-feed-imgs">
+                                <?php echo $thumbnail; ?>
+                                <div class="small-12 text-center columns">
+                                    <?php $post_categories = wp_get_post_categories( get_the_ID() );
                                         $cats = array();
                                         echo 'This entry was posted ';
                                         if (has_category()) {
                                         }
                                         echo ' on ';
                                         echo ' <span class="meta date"> ' . the_time('F jS, Y') . '</span>';
-                                        ?>
-                                    </footer>
+                                    ?>
+                                </div>
+                            </div>
+                            <div class="small-12 columns">
+                            <?php } else { ?>
+                            <div class="small-12 columns"> 
+                            <?php } ?>
+                                <article id="<?php the_ID()?>" <?php post_class()?>>
+                                    <h1><?php the_title();?></h1>
+                                    <?php echo the_content(); ?>
+                                    
                                 </article>
                             </div>
                         </div>