• 19/10/2022 • 4 phút đọc • 12 lượt xem

Quick guide - How to Add Post Thumbnails to Your WordPress RSS Feeds

Việt Lâm Coder
Việt Lâm Coder
Senior Fullstack & System Architect • Hotline: 0944.71.4545

Are you seeking a simple way to add post thumbnails to your WordPress RSS feeds?

There is no denying that RSS feeds assist you to promote your content in feed readers and other applications that utilize RSS feeds. Unluckily, RSS feeds will not include your blog posts’ featured images.

Hence, in this article, we provide you with a quick guide to help you add post thumbnails to your WordPress RSS feeds.

Why should you add post thumbnails to your WordPress RSS feeds?


As you know, RSS stands for Really Simple Syndication helps your readers quickly update the latest content as well as easily look for information they want without visiting your website manually. You can take advantage of the RSS feed to promote your content and drive traffic to your blog effectively.

Nevertheless, there is a disadvantage that WordPress RSS feeds don’t display your blog posts’ featured images. Whereas adding post thumbnails to your WordPress RSS feeds can help improve the feeds and offer a great user experience.

For that reason, in today’s blog, we are going to give you a step-by-step guide to help you add post thumbnails to your WordPress RSS feeds without effort. Now, let’s dive into our blog.

How to add post thumbnails to your WordPress RSS feeds?


Method 1: Using a free plugin


The first method that we would like to recommend is using the Featured images in RSS for Mailchimp & More for your website. This is a free plugin with over 30.000 active installations. It assists you to add images to your RSS feed. Thanks to that, featured images will be shown in your RSS email campaigns, ActiveCampaign, Hubspot, Zoho, and other services that utilize RSS feed data.

Now, to use this tool, first of all, you need to install and activate it.

The process of installing a plugin in WordPress is pretty simple. You can follow our simple guide:


  1. Log into your WordPress dashboard

  2. Go to Plugins > Add New options

  3. Use the Search bar to find the plugin

  4. Click on the Install Now button and Activate it


Add Post Thumbnails To Your Wordpress Rss Feeds

Once the plugin is activated. Now, negative to Featured Images in RSS menu from your WordPress dashboard to configure the plugin’s settings.

From there, you are able to change the RSS image size by choosing available options from the drop-down menu.

In addition, this plugin allows you to modify the RSS image alignment, and text padding, simply check the box next to the “Clickable image” option if you want to make the image clickable.

Add Post Thumbnails To Your Wordpress Rss Feeds 1

Once you are done, don’t forget to click on the “Save Changes” button to finalize the process of adding post thumbnails to your WordPress RSS feeds.

Method 2: Using custom code


Instead of using an additional plugin, you can still add post thumbnails to your WordPress RSS feeds by adding a code snippet to your theme’s function.php file.

However, if you are a beginner, we highly advise that you should not make changes to your functions.php file because any changes to your functions.php file can also cause mistakes by chance, which can break your WordPress site.

Another way that can help you handle this issue is by using the WPCode plugin. This plugin will help you easily add code snippets to your WordPress site without having to edit your theme’s functions.php file.

Similarly, you first install and activate the WPCode plugin before using it. All steps to install this plugin is the same as what we did to the above plugin.

Upon activation, you can navigate to Code Snippets > +Add Snippet from your WordPress admin panel.

Then, hover over the “Add Your Custom Code (New Snippet)” option and click on the “Use snippet” button.

Add Post Thumbnails To Your Wordpress Rss Feeds 3

Next, you need to provide your code snippet a title and change the code type to PHP snippet by choosing from the drop-down menu. Then, copy the following code snippet and paste it into the “Code Preview” box.

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');

Add Post Thumbnails To Your Wordpress Rss Feeds 4

After that, let’s scroll down to the Insertion section.

From there, you can choose a method to insert your code snippet into your WordPress site. For this snippet, you should choose the “Auto Insert” option, then your code will be automatically executed on your website site.

Once you are done, let’s switch the toggle at the top right corner of the page from “Inactive” to “Active” and don’t forget to click on the “Save Snippet” button to save your code.

Add Post Thumbnails To Your Wordpress Rss Feeds 5

Việt Lâm Coder

Việt Lâm Coder

Tác giả bài viết và chuyên gia quản trị website. Nếu bạn gặp khó khăn trong quá trình thực hiện hoặc có nhu cầu thiết kế website, lập trình web app Laravel, hãy liên hệ ngay với tôi qua Hotline / Zalo: 0944.71.4545.

☕ Mời Tác Giả Ly Cà Phê Ấm Lòng

Nếu bài viết này giúp ích cho công việc của bạn, hãy tiếp thêm động lực cho tác giả duy trì kho tri thức bằng một ly cà phê ấm lòng nhé!

Mã QR ủng hộ tác giả
Ngân hàng TMCP Quân Đội (MB Bank)TONG VIET LAM

Có Thể Bạn Quan Tâm

Cách Mở Tab Ẩn Danh Trên Safari MacBook Đơn Giản

Cách mở tab ẩn danh trên Safari MacBook sẽ giúp cho người dùng có thể bảo vệ quyền riêng tư và duyệt web một cách an toà...

Hướng dẫn 5 cách tắt update Windows 11 vĩnh viễn chi tiết nhất

Mặc định Windows 11 sẽ được tự động cập nhật trong nền. Tuy nhiên nếu vì lý do nào đó mà bạn không muốn nhận các bản...

Hướng dẫn trỏ file hosts cho domain trên hệ điều hành Windows

– Làm cách nào để 1 website có thể hoạt động trên Share hosting, VPS, Server mà không cần cấu hình các record DNS cho do...

Kích hoạt Cloudflare Turnstile trong Contact Form 7 chống spam

Cloudflare Turnstile là giải pháp xác thực không dùng CAPTCHA giúp bảo vệ website WordPress khỏi spam một cách nhẹ nhàng...

Cách Sử Dụng DeepSeek R1 Miễn Phí Trong Visual Studio Code Với Cline?

Hãy đối mặt với thực tế: Các trợ lý lập trình AI như GitHub Copilot thì tuyệt vời, nhưng chi phí đăng ký của chúng có th...

Gmail API – Tất cả những gì bạn cần biết - 2025

Nếu bạn đang tìm cách tích hợp Gmail vào các ứng dụng của riêng mình thì Gmail API chính là thứ bạn cần! Gmail là một lự...

Hướng dẫn tạo màn hình desktop ảo bằng Task View trên Surface Windows 11

Việt Lâm Coder sẽ hướng dẫn tạo lập nhiều màn hình desktop ảo bằng Task View trên Surface Windows 11 để sắp xếp các tác...

How to Transfer PuTTY Sessions To Another Windows Machine

his is an user contributed article. PuTTY is a terminal emulator application which can act as a client for the SSH, T...

Hướng dẫn cách kiểm tra cổng đang mở (Check open port) trên linux

Với nhiều năm kinh nghiệm hỗ trợ Khách hàng của Tenten, chúng tôi nhận thấy việc thường xuyên theo dõi kiểm tra hoạt độn...

Kiểm tra tất cả các port mà Cyber Panel đang cần có được mở hay không ?

Để kiểm tra tất cả các port cùng một lúc, bạn có thể sử dụng lệnh: netstat -tulpn | grep -E ':(8090|80|443|21|40110|401...

Hướng dẫn cài đặt KeyHelp Panel

Tóm tắt về KeyHelp Bạn đã có phần cứng tốt nhất cho các dự án Internet của mình nhưng việc quản lý phức tạp, hiệu suất...

Tổng hợp danh sách Control Panel VPS free tốt nhất hiện nay

Control Panel VPS free cung cấp một lựa chọn tuyệt vời cho những người dùng muốn quản lý VPS một cách dễ dàng và hiệ...