WordPress tutorials: Insert into RSS feed

Wpsnipp – There is a lot you can do with feeds on WordPress blogs.Stay tuned for more information on handling feeds in WordPress.Adding this to your functions.php file of your wordpress theme will insert content after each post in your RSS feed.



function insertInfo($content) {
$content = $content.'<hr />This text will display within your rss feed<hr />';
return $content;
add_filter('the_excerpt_rss', 'insertInfo');


Leave a comment