How to add ads to the end of RSS Feed in wordpress websites

Sponsors

If you want place the ads in RSS feed that is very easy with wordpress websites.
You can use following code for showing the ads in rss feeds.
Open your functions.php file from wordpress theme folder and use following code:

function insertAds_in_rss($content) {

$content = $content.' Your ads code goes will here';

return $content;}

add_filter('the_content_feed', 'insertAds_in_rss');

add_filter('the_excerpt_rss', 'insertAds_in_rss');

You may like following Articles!

One thought on “How to add ads to the end of RSS Feed in wordpress websites

  1. I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites web page list and will be checking back soon. Please check out my site as well and let me know what you think. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>