Update front page blog feed
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 21 Jan 2016 21:21:51 +0000 (16:21 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 21 Jan 2016 21:21:51 +0000 (16:21 -0500)
adding header to exclude tags

parts/blog-feed-front.php

index 7e92043..52751d6 100644 (file)
@@ -19,7 +19,7 @@
                         <?php } ?>
                                 <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
                                 <p class="blog-feed-date"><?php echo get_the_date('F j, Y', $post->ID); ?></p>
-                                <p><?php echo the_advanced_excerpt('length=85&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=img,p,strong,div'); ?></p>
+                                <p><?php echo the_advanced_excerpt('length=85&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=img,p,strong,div,h1,h2,h3,h4,h5,h6'); ?></p>
                         </div>
                     </div>
                 <?php endforeach; ?>