[wp-hackers] filter the_content without affecting the_excerpt

Braydon ronin at braydon.com
Wed Jul 20 00:34:23 UTC 2011

Using a "the_content" filter to add a shortcode sounds like the cleanest 

the_excerpt() is an inflexible template tag to begin with, in order to 
modify it's output length, and other parameters, you need to add a 
filter that applies to every time the function is called, where it may 
only be necessary to modify it once, not on every instance the function 
is called.

More information about the wp-hackers mailing list