[wp-hackers] Post excerpts within the_content filter callback functions

John Blackbourn johnbillion+wp at gmail.com
Wed Jun 16 05:23:03 UTC 2010


On Wed, Jun 16, 2010 at 5:29 AM, Otto <otto at ottodestruct.com> wrote:
> If you can send me your test code, I'll take a look at it.

http://pastebin.com/xgnZfAEi

The plugin outputs the excerpt above the post content, but in the
process kills any shortcodes for any plugins you have installed,
including the [testy] shortcode included in the plugin. If you remove
the 'the_content' filter, shortcodes work fine.

John


More information about the wp-hackers mailing list