WordPress: Adding stuff to your RSS feed

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<hr />

<a href="http://www.thrasos.net/photobooth/">Have you taken your picture?</a>

<hr />

';

return $content; }

add_filter('
the_excerpt_rss', 'addStuff');

add_filter('
the_content_rss', 'addStuff');

?&gt;

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

You can say something here...