[wp-hackers] Re: filter the_exceprt

Stephanie Leary steph at sillybean.net
Tue Jan 13 21:57:27 GMT 2009


On Wed, 14 Jan 2009 01:01:04 +1300, Lynne Pope <lynne.pope at gmail.com>
wrote:
> For those sites where mitigating duplicate content
> issues is a priority, then having a unique excerpt is important and the
> only way to have unique content is if you write it.  If you write an
excerpt
> you don't get that annoying [...] problem and writing a custom "Read
More" is
> easy.
> 
> For example, if you use your own excerpts, then this will do the trick...
> 
> <?php the_excerpt(); ?>
>  <span class="more"><a href="<?php the_permalink(); ?>">[ Continue
> Reading:
> <?php the_title() ?> ]</a></span>

Hi, Lynne. I don't want to shout you down at all because for the most part
we agree. The main reason I use the Reloaded plugin is to circumvent the
tag stripping that occurs with the built-in excerpt function. I do write my
own excerpts most of the time -- but they contain links, images, and lists
that I need to preserve when the excerpt is called. 

Obviously the excerpt function is widely used, and I would prefer to leave
it as-is when called without arguments. I'd just like to add arguments to
it, because its current behavior causes problems on many of the sites I
work on.

Stephanie 



More information about the wp-hackers mailing list