AWPGuide

Beginner's Guide For WordPress

  • Blog
    • Monetization
    • Reviews
    • Showcase
    • WordPress Guides
    • ScanWP
  • Start Here
  • Deals
  • Blueprint

Last Updated On January 19, 2019 By Christina

AWPGuide » WordPress Guides » How To Add Image Thumbnail To RSS Feeds

How To Add Image Thumbnail To RSS Feeds

How To Add Image Thumbnail To RSS Feeds

Most of us are building an email list and sending newsletters to the subscribers. But, there’s one hack available to show your post thumbnail on the newsletter. In this post, we are going to show you how can you add image thumbnail to RSS feeds.

Last time, we have shown you how to disable RSS feeds. Before starting this, you need to make sure that you have set a featured image to your posts and custom post types.

How To Add Image Thumbnail To RSS Feeds

First of all, go to your WordPress admin area, and the editor. You need to choose the functions file from there.

Add Image Thumbnail To RSS Feeds

Make sure that you are using a WordPress child theme. Now copy the below code.

function 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', 'rss_post_thumbnail');
add_filter('the_content_feed', 'rss_post_thumbnail');

Paste it on the child theme’s functions file and update it.

how to add post thumbnail in wordpress rss feed

That’s it. From now on, your post’s featured image will be added to the RSS feed. You can check it by visiting your feed URL or by sending a test newsletter.

By default, WordPress’s feed will be like www.example.com/feed/

We hope you enjoyed the read and found this post useful. If you did, please consider sharing this post with your friends and fellow bloggers on social media. For more related posts, check out our blog section.

For building your email list, you may want to consider using tools like OptinMonster and Bloom.

UPDATE

Would you like to meet the powerhouse? A lead generation plugin with lots of features for an affordable price! Then you should check out MailOptin!

mailoptin review

The best lead generation plugin for WordPress.

Using MailOptin, you will be able to create different types of optin forms which converts your website visitors to loyal customers!

If you need to learn more about the MailOptin plugin, please feel free to check out our MailOptin review.

For more related posts, you may want to check out our blog section.

Full Disclosure This post may contain affiliate links, meaning that if you click on one of the links and purchase an item, we may receive a commission (at no additional cost to you). All opinions are our own and we do not accept payments for positive reviews.

About Christina

Christina is the lead editor in AWPGuide.
She will mainly write about WordPress tutorials, product reviews, monetization tricks, and related stuff.
Christina is led by Sreehari.

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let us have a personal and meaningful conversation.

Learn WordPress Now!

Never miss our updates! We are adding fresh contents daily!
Join our newsletter and learn WordPress now!

The Best of AWPGuide

We have the best guides here! Some of them are below!

Beginner's Guides

  • 1
    Media.net Review (and RPM Optimization Guide)
  • 2
    Grammarly Review: Free Proofreading Tool
  • 3
    Why You Need To Build an Email List?
  • 4
    How To Start a Free Blog on CloudAccess.net
  • 5
    Aspire pro Documentation and Setup
  • 6
    WP Engine Affiliate Program Review
  • 7
    How To Add Coupon Section In WordPress

Theme Reviews

  • 1
    Jupiter X WordPress Theme Review
  • 2
    Newsmag WordPress Theme Review
40% DISCOUNT
AWPGuide
monsterinsights coupon

MonsterInsights Coupon

Monsterinsights is the best Google Analytics plugin for WordPress. In this post, we are going to share the coupon code which will give you 40% off on the purchase!
Get This Deal

ABOUT AWPGUIDE

Finally we have launched AWPGuide blog! At this time of writing, we know, there are so many blogs are providing blogging and money making tips and tricks.

We are not like them! In AWPGuide, we will cover WordPress, blogging, SEO, make money online guides and will teach you how to start, maintain and monetize a WordPress blog.

All these guides will be 100% free and always it will be. We are not running a typical membership website for making money. Also, AWPGuide is free from display advertising, pop-up ads and URL shortner!

For more, feel free to check out our about page.

SITE LINKS

About Us

Advertise Here!

Contact Us

Free Blog Setup

Terms of Service

Write For Us!

Privacy Policy

Deals

OptinMonster Coupon

MyThemeShop Coupon

WPForms Coupon

Bluehost Coupon

CSS Hero Coupon

Social Warfare Coupon

REVIEWS

Genesis Framework

WP Coupons

WP Review Pro

Slider Revolution

Newsmag

Jupiter X

MonsterInsights

© 2023 · AWPGuide LLC