edited the advance excerpt feed
authorIan Weller <ian@gaslightmedia.com>
Wed, 29 Jun 2016 17:57:20 +0000 (13:57 -0400)
committerIan Weller <ian@gaslightmedia.com>
Wed, 29 Jun 2016 17:57:20 +0000 (13:57 -0400)
root/archive.php
root/home.php

index de96ac4..0651451 100644 (file)
@@ -21,7 +21,7 @@
                             <h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
                             <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
                         </header>
-                        <?php echo (function_exists('the_advanced_excerpt')) ? the_advanced_excerpt(): the_excerpt(); ?>
+                       <?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'); ?>
                         <!--the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;');-->
                         <!-- This could be wrapped in php tags and be functional,
                                 but it is easier to change this in admin side-->
index 1929d0f..f4104f5 100644 (file)
@@ -24,7 +24,7 @@
                             <h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
                             <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
                         </header>
-                        <?php echo (function_exists('the_advanced_excerpt')) ? the_advanced_excerpt(): the_excerpt(); ?>
+                        <?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'); ?>
                         <!--the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;');-->
                         <!-- This could be wrapped in php tags and be functional,
                                 but it is easier to change this in admin side-->