WordPress: Adding stuff to your RSS feed

Categories blog, code

So you want to add stuff to your RSS feed? And by stuff I mean ads, links, text, dead cats etc.

Well it’s another add_filter() function based solution. Quick and easy by editing functions.php.

There is another more dirty way to do this but I wont get in to it now.

[cc lang=”php”]


Have you taken your picture?


‘;

return $content; }

add_filter(‘the_excerpt_rss’, ‘addStuff’);

add_filter(‘the_content_rss’, ‘addStuff’);

?>

[/cc]

Posting stuff that helped me and so I don’t forget :-)

No Comments

You can say something here...