trying to fix the advanced excerpt tag exclusion
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 7 Dec 2016 14:29:53 +0000 (09:29 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 7 Dec 2016 14:29:53 +0000 (09:29 -0500)
parts/blog-text.php

index 41cee11..1a958bc 100644 (file)
@@ -8,5 +8,6 @@
                                                         <?php endif; ?>
                                                         <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
                                                     </header>
-                                                    <?php echo 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'); ?>
+                                                    <?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'); ?>
+                                                    <?php echo (function_exists('the_advanced_excerpt')) ? the_advanced_excerpt(): the_excerpt(); ?>
                                                 </article>
\ No newline at end of file