Update blog feed excerpts
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 2 May 2018 20:38:31 +0000 (16:38 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 2 May 2018 20:38:31 +0000 (16:38 -0400)
Include images.

parts/blog-feed-front.php
parts/blog-text.php
style.css

index 6913cd3..5ebe5db 100644 (file)
@@ -13,13 +13,13 @@ foreach($lastposts as $post) : setup_postdata($post); ?>
                 <div class="small-12 medium-9 columns home-feed-post-content">
                  <?php } else { ?>
                 <div class="small-12 columns home-feed-post-content">
-                <?php } ?>                
+                <?php } ?>
                 <h2 class="title-posts"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
                 <span class="meta date"><?php the_time('F j, Y') ?></span>
-                <div class="excerpt<?php echo $count ?>"><?php echo the_advanced_excerpt('length=265&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,strong,h1,h2,h3,hr,div'); ?></div>
+                <div class="excerpt<?php echo $count ?>"><?php echo the_advanced_excerpt('length=265&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,p,strong,h1,h2,h3,hr,div'); ?></div>
             </div>
         </div>
     </div>
         <?php $count++; ?>
 <?php endforeach; ?>
-</div>
\ No newline at end of file
+</div>
index 6de7e4b..05cbc19 100644 (file)
@@ -7,5 +7,5 @@
                                                         <?php endif; ?>
                                                         <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
                                                     </header>
-                                                    <?php the_advanced_excerpt('length=250&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,div,h1,h2,h3,h4,h5,h6'); ?>
-                                                </article>
\ No newline at end of file
+                                                    <?php the_advanced_excerpt('length=250&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,p,div,h1,h2,h3,h4,h5,h6'); ?>
+                                                </article>
index 799eaed..2cb4ecf 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: MiGCSA
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for MiGCSA
-Version: 1.0.4
+Version: 1.0.5
 */