[wp-hackers] Re: RSS2 Action

Chris Poteet cpoteet at siolon.com
Tue Apr 15 02:42:14 GMT 2008

> If you're trying to add to the post contents in feeds, just use the
> "the_content" filter and abort if is_feed() returns false.

Thanks Viper. I tried that, and it seems to work.

function addAds() {
   echo '<p>Content</p>';

if (is_feed())
  add_action('the_content', 'addAds');

More information about the wp-hackers mailing list