1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 5.00 out of 5)

Add Content to the End of Your RSS feed in WordPress

Sometimes its necessary to add content at the end of your RSS feed. Here is a little code that will help you to do that. You can add social pages, scripts and more using this method. Just paste the code below into your functions.php file and replace the content with whatever you want it to be. 🙂

This will not add content to then end of your posts in your website, this will only add content to your RSS feed.

//adding additional content to RSS feed
function addToRSS() {
return '<p>Additional content can be here</p>';
}
add_filter('the_excerpt_rss', 'addToRSS');
add_filter('the_content_rss', 'addToRSS');
Add Content to the End of Your RSS feed in WordPress was last modified: April 15th, 2015 by Maximus Mccullough

Subscribe To My YouTube Channel:
Advanced Programming Made Easy

I hope you enjoyed the article. If I was able to help you please consider a tip for the content.

One Time Tip

more tips

Reoccuring Tips

Tips

Add Content to the End of Your RSS feed in WordPress

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.