I'm currently working on a test website on my local server using WordPress version 3.4.2. I've tried various different solutions. Some have included installing various plugins, such as WP RSS Images and Featured Image in RSS. Even tried some of the solutions from the following posts:

Yet, it seems the images aren't being posted to the RSS feeds. Is there another solution that can solve this problem?

The RSS feed I'm trying to include images is this link.

Any help is appreciated!

  • This works out of the box in WordPress core, and the RSS feed you linked does include featured images. Where is the problem? Commented Dec 20, 2012 at 15:50
  • @ChipBennett That's weird because on my computer, the images aren't displaying in the RSS feeds.
    – Abriel
    Commented Dec 20, 2012 at 16:24

2 Answers 2


By default, RSS won't display. You have to use RSS2. However this will help you. Paste it in your functions.php:

function insert_thumbnail_into_feed() {
global $post;
if ( has_post_thumbnail( $post->ID ) ){
    // replace thumbnail with yours
    $content = '<p>' .get_the_post_thumbnail( $post->ID, 'thumbnail' ) .'</p>';

// get post content and replace feed content with
// you can also limit/filter the content to exclude shortcodes and HTML code etc.
$content .= '<p>' .get_the_content() .'</p>';

return $content;
add_filter( 'the_excerpt_rss', 'insert_thumbnail_into_feed' );
add_filter( 'the_content_feed', 'insert_thumbnail_into_feed' );

Hope it helps.

  • 1
    Where's the filter hook? Commented Jul 25, 2014 at 1:51

Strange none of the links above doesn't work for you.

You can try this using Custom RSS Feed method very well explained by Joost ( For reference: http://yoast.com/custom-rss-feeds-wordpress/ ). Using this way, you can display any of the fields either custom field value or featured image.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.