How to add ads to the end of RSS on wordpress?

Posted by zeina on Stack Overflow See other posts from Stack Overflow or by zeina
Published on 2010-03-31T09:10:33Z Indexed on 2010/03/31 9:13 UTC
Read the original article Hit count: 242

Filed under:
|
|

I have added a function to functions.php on my theme.

function insertAds($content) {

$content = $content.' add goes here';

return $content;}

add_filter('the_content_feed', 'insertAds');

add_filter('the_excerpt_rss', 'insertAds');

The problem is that I'm having the add displayed under each content, and not at the end of the rss page. How can I fix that?

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about rss