This very cool piece of code will get the post thumbnail and automatically add it to your RSS feeds.

Paste the code into functions.php and save the file.

Don’t forget that you need to use a theme that supports post thumbnails for this snippet to work.

function cwc_rss_post_thumbnail($content) {
global $post;
if(has_post_thumbnail($post->ID)) {
$content = '< p >' . get_the_post_thumbnail($post->ID) .
'< /p >' . get_the_content();
return $content;
add_filter('the_excerpt_rss', 'cwc_rss_post_thumbnail');
add_filter('the_content_feed', 'cwc_rss_post_thumbnail');

Learn more at –

About The Author

Jim Callender is a Freelance Wordpress Developer. Living & working in Brighton. He started working with Wordpress in 2003. Since then has been responsible for delivering high profile sites for a number of large UK design & marketing agencies. His other site is