How to embed a link in your RSS Feed

This piece of code should go in your theme’s functions.php file. Thanks to Quicksprout for this code.

function embed_rss($content) {
$content .= "<p><a href='". get_permalink() ."'>'";
$content .= get_the_title() ."</a></p>";
return $content;
add_filter('the_content', 'embed_rss');

Leave a Reply

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

Time limit is exhausted. Please reload CAPTCHA.