Images are powerful tools. They can communicate our stories, our desires, our personalities…
Knowing the power of a picture, we want to make sure that we take full advantage of that and include a featured image with our Rss Feed… particularly if you truncate your feed to prevent theft.
It’s very simple, and I’m here to share with you how to do it!
This Tutorial was written for and tested on the Genesis Framework. If you’re running on a different framework, it might not work.
/**Add Image Thumbnail to Rss Feed*/
function featuredtoRSS($content) {
global $post;
if ( has_post_thumbnail( $post->ID ) ){
$content = '' . get_the_post_thumbnail( $post->ID, 'thumbnail', array( 'style' => 'float:left; margin:0 15px 15px 0;' ) ) . '' . $content;
}
return $content;
}
add_filter('the_excerpt_rss', 'featuredtoRSS');
add_filter('the_content_feed', 'featuredtoRSS');
And if you are still not sure about doing this, I’m more than happy to provide this service at a reduced rate of $15. Just email me and put Featured Image Rss Feed in the subject line to receive this discount!
















Thanks so much Gwen!! This worked like a charm!
Just did this, thank you so much for the simple tutorial, Gwen!!