General Topics

Easy Way To Learn Show Featured Image In RSS Feed

In this article, you will learn how to show featured image in RSS Feed. While updating the version of your WordPress’s theme don’t forget to show features image in RSS Feed. However, thinking of some people is that, no person use RSS feeds for reading posts. But they are wrong many of us use different channels to read this like Feedly or Google Play Newsstand.

I am also a regular visitor of Google Play Newsstand and Feedly for reading articles on daily basis. Furthermore, I can easily read posts using my cell phone from Feedly or Google Play Newsstand. So if you want to make your post delicious not boring then don’t forget to show featured image in RSS feed.

In fact, RSS feed is a way to popular your site on different directories and similar services. If you are a user of WordPress then it does not show featured image in RSS feed. For showing, we need third party plugin. But if you don’t want to use the plugin then you can place a code in the theme’s function.php file.

Show Summary Instead Of Full Text

You need to set out like shown below. Because it’s better to show summary instead of full text. You can change it by logging in to the wp-admin dashboard Setting » Reading.

Show Summary Instead Of Full Text

Methods To Show Featured Image In RSS Feed

  • By Code Placement
  • Via Plugin
  • Test your RSS Feed

Show Featured Image In RSS Feed by Code Placement

  • First login to your wp-admin dashboard.
  • Now click on Appearance » Editor.

Editor

  • Here you will see functions.php file. Just click on it.

functions.php

  • Now place the below code on the end of the file.
<?php
function featuredtoRSS($content) {
global $post;
if ( has_post_thumbnail( $post->ID ) ){
$content = '<div>' . get_the_post_thumbnail( $post->ID, 'medium', array( 'style' => 'margin-bottom: 15px;' ) ) . '</div>' . $content;
}
return $content;
}
add_filter('the_excerpt_rss', 'featuredtoRSS');
add_filter('the_content_feed', 'featuredtoRSS');
?>

Note: If you see we have used medium but if you want to use a thumbnail or full. Then you can change but the medium is better for all platforms.

After placement of the code your site’s RSS feed will look like shown below:

Global Blurb RSS Feed

Show Featured Image In RSS Feed via Plugin

Now you will read how to show features image in RSS feed via a plugin. For this purpose, you need to install a plugin “Featured Images in RSS w/ Size and Position”.

Featured Images in RSS w Size and Position

  • Install it by logging in WordPress dashboard. Plugins » Add New and search here. After finding just install and active.
  • Lastly, setup this plugin by accessing Settings » Features Images In RSS Feeds.

Setting Features Image in RSS Feeds

  • Here you have the option to use a large image, medium or small.

Choose image size and location (Features Images in RSS Feeds)

Furthermore, other than plugins are available to show featured image in RSS feed but they are not updated from a long time. But the plugin which I am suggesting is updated regularly. So while using plugins don’t forget to use the plugin which is regularly updating.

Test your RSS Feed

Now the last step is checking RSS feed by two channels. Keep in mind when you will try to see RSS feeds using Google Chrome then the image of a post will never show. So you can check by accessing the website “CodeRed”. Or opening your site’s RSS feed using Internet Explorer.

Supporting Articles

View PHP Settings

Update WordPress Theme Without Losing Content

World’s Best Google AdSense Alternative

 

Show More

Global Blurb Team

“Global Blurb since 2015” Global Blurb providing information about SEO, Beauty, Health & Fitness, Interior designing, Fashion and ways of earning online without investing a penny. The blog designed to share ideas about different topics.