update blocks for new lines to break
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 17 Feb 2016 18:57:55 +0000 (13:57 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 17 Feb 2016 18:57:55 +0000 (13:57 -0500)
parts/glm-blocks.php
style.css

index 69092bd..26ccd95 100644 (file)
@@ -3,7 +3,7 @@
 <div class="row">
     <?php foreach ($blocks as $block):?>
     <div class="small-12 large-4 columns small-text-center large-text-left  blocks">
-        
+
             <div class="block-img-wrapper">
             <?php if($block->url):?>
             <a href="<?php echo $block->url;?>"<?php if($block->externalUrl){echo ' target="_blank"';}?>>
             <?php
             $block->thumbnail = get_the_post_thumbnail( $block->ID, 'blocks-thumb' );
             echo $block->thumbnail;?>
-            
+
             <?php if($block->url):?>
             </a>
             <?php endif;?>
-            </div>    
+            </div>
             <?php if($block->url):?>
             <a class="title-posts" href="<?php echo $block->url;?>"<?php if($block->externalUrl){echo ' target="_blank"';}?>>
             <?php endif;?>
@@ -23,7 +23,7 @@
             <?php if($block->url):?>
             </a>
              <?php endif;?>
-        <p><?php echo $block->post_content . $block->post_excerpt;?></p>
+        <p><?php echo nl2br($block->post_content);?></p>
         <a class="more" href="<?php echo $block->url;?>">More info...</a>
     </div>
     <?php endforeach;?>
index c29cd31..174b5e3 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: EmmetCountyFair
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for EmmetCountyFair
-Version: 2.0.0
+Version: 2.0.1
 */