My Another Favorite featured in WordPress is easy to tweak it out. And WordPress good support on Feed. Sometime we need to insert custom content into our WordPress Feeds right? On this post I will show you how to Insert Custom Content into Feeds. The custom content can be anything – text, markup, or even scripts – and may be set to appear in blog posts, feed posts, or both. You can easily set content to display before or after your post content, or in both places
Write down this code to Insert Custom Content into Feeds
function doContent($content) {
$content = $content . '<p class="extra">Write Down your custom content here!</p>';
return $content;
}
add_filter('the_excerpt_rss', 'doContent');
add_filter('the_content_rss', 'doContent');
Please note, the code above will insert extra content after you the_content_rss(); or the_excerpt_rss(), so if you display this code in you standard theme, the custom content will be displayed too. So beware when you tried code to Insert Custom Content into Feeds



Pingback: Custom Query String (Reloaded) | Unlock IMEI Cellphones
Where in which file we have to insert the code?
You didn’t provided the file name…