How to Display Any RSS Feed on Your WordPress Blog

Looking to display RSS feeds from other websites on your WordPress blog?

RSS makes it easy to automatically pull content from other sites and display it on yours. This can boost user engagement, increase website traffic, and increase page views.

In this article, we are going to show you how to display any RSS feed on your WordPress blog.

How to Display Any RSS Feed on Your WordPress Blog

Why display any RSS feed on your WordPress blog?

All WordPress blogs come with built-in support for RSS feeds. This allows your users to receive regular updates from your website using an RSS feed reader, like Feedly.

You can even use RSS feed integrations to send new post notifications to your users via email newsletters and push notifications.

Your blog’s RSS feed is simply the website address with /feed/ appended to the end.

What many people don’t know is that you can also use RSS to pull content from other websites into yours.

This allows you to curate content from other websites and automatically display content from social media websites such as Facebook, Instagram, Twitter and YouTube. You can even use WordPress as a news aggregator.

That said, let’s see how to display any RSS feed on your WordPress blog. We will cover four methods:

Display any RSS feed with a widget

You can display an RSS feed on your WordPress blog using the built-in WordPress widget. Just go to Appearance » Widgets then click the blue insert block button at the top of the screen.

The WordPress RSS Widget

Next, you need to locate the RSS widget and drag it onto your sidebar or another widget-ready area. After that, you just need to type or paste the RSS feed you want to view.

For this tutorial, we’ll add the WPBeginner RSS feed, which can be found at We will also add a title using a title block.

This is what the RSS widget looks like on our WordPress test blog.

WordPress RSS Widget Overview

Note that the default RSS widget comes with very basic functionality. For example, it doesn’t allow you to add thumbnails, social buttons, or other customizations. If you want to add these extra features, it’s best to use a plugin.

Display any RSS feed with a plugin

WP RSS Aggregator is the best WordPress RSS feed plugin. It lets you display RSS feeds on your WordPress blog, and by purchasing premium add-ons, you can turn your WordPress blog into a content aggregator without any coding.

The first thing you need to do is install and activate the freeware WP RSS Aggregator connect. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you will be asked to add your first RSS feed URL. For this tutorial we will add Once you have entered the feed URL, you need to click on the “Next” button at the bottom of the page.

Enter feed URL in WP RSS Aggregator settings

On the next page, you will see the latest feed items from the RSS feed you linked to.

You can click the “Create Draft Page” button to add the feed to a new draft page, or use the shortcode on the right to add them to any post, page, or widget area.

Click on the button

For this tutorial, we’ll click the “Create Draft Page” button. The page is automatically created and the button text changes to “Page preview”.

You can click this button to preview the RSS feed on your website. This is a screenshot of our demo website.

WP RSS Aggregator Feed Preview

The page displays a bulleted list of links to the last three posts in the feed, along with information about the post’s source and post date.

This plugin becomes a real powerhouse when you use their premium add-ons. These allow you to create separate posts for each RSS item and import the full text of each post. Others allow keyword filtering of RSS items, the ability to categorize each item, and much more.

WP RSS Aggregator Addons

By using these add-ons, this plugin can be used for auto-blogging. However, you must exercise caution. Scraping full content from third-party websites may lead to copyright violations and legal issues.

Viewing social media feeds with a plugin

Adding social media feeds to your WordPress blog can help you increase your subscriber count, improve social engagement, and enrich your existing content.

smashing balloon is the best social media feed plugin for WordPress and is trusted by over 1.75 million users.

It’s actually a combination of plugins that make it easy to create and display custom feeds from Facebook, Instagram, Twitter, and YouTube on your WordPress blog.

Add Facebook Social Media Feed in WordPress

You can add a Facebook feed to your site by installing and activating theSmash Balloon Custom Facebook Feedconnect.

There is also a free version which lets you create basic Facebook feeds, but it doesn’t include all the advanced features like embedding photos, albums, etc.

Smash Balloon lets you combine feeds from multiple Facebook pages and customize the look of your Facebook feed without coding.

The Smash Balloon Facebook feed plugin

For more details, see our guide on how to create a custom Facebook feed in WordPress.

Add Instagram Social Media Feed in WordPress

Smash Balloon Instagram Feed is the best Instagram feed plugin for WordPress. A pro and free version of the plugin is available.

This plugin allows you to display Instagram content by hashtag or account. You can also display comments and like counts, include lightbox popups, and more.

The Smash Balloon Instagram Feed Plugin

You can learn how to use the plugin in our detailed guide on how to create a custom Instagram feed in WordPress.

Add Twitter Social Media Feed in WordPress

Smash Balloon Custom Twitter Feeds is the best Twitter feed plugin for WordPress, and there are pro and free versions available.

The plugin lets you do things like view multiple Twitter feeds, reply, like, and retweet while staying on your website, and display full tweets in lightboxes.

The Smash Balloon Custom Twitter Feed Plugin

For more instructions on adding a Twitter feed to WordPress using this plugin, see our guide on how to embed tweets in WordPress.

Add YouTube Social Media Feed in WordPress

Feed for YouTube by Smash Balloon is the best YouTube social media plugin available for WordPress, and there are pro and free versions of the plugin available.

The plugin lets you create a customizable gallery from all your channels, add live streaming, use advanced search queries to create custom streams, and more.

You can also choose from different layout templates to change the look of your video stream.

Streams for YouTube by Smash Balloon Plugin

For more detailed instructions, see our guide on how to create a YouTube gallery in WordPress.

Viewing any RSS feed using code

Using code, you can use a built-in function of WordPress to display any RSS feed on your blog.

Simply paste the following code into any WordPress file of your choice. We recommend that you create a custom page for this purpose.

<h2><?php _e( 'Recent news from Some-Other Blog:', 'my-text-domain' ); ?></h2>
<?php // Get RSS Feed(s)
include_once( ABSPATH . WPINC . '/feed.php' );
// Get a SimplePie feed object from the specified feed source.
$rss = fetch_feed( '' );
if ( ! is_wp_error( $rss ) ) : // Checks that the object is created correctly
    // Figure out how many total items there are, but limit it to 5. 
    $maxitems = $rss->get_item_quantity( 5 ); 
    // Build an array of all the items, starting with element 0 (first element).
    $rss_items = $rss->get_items( 0, $maxitems );
    <?php if ( $maxitems == 0 ) : ?>
        <li><?php _e( 'No items', 'my-text-domain' ); ?></li>
    <?php else : ?>
        <?php // Loop through each feed item and display each item as a hyperlink. ?>
        <?php foreach ( $rss_items as $item ) : ?>
                <a href="<?php echo esc_url( $item->get_permalink() ); ?>"
                    title="<?php printf( __( 'Posted %s', 'my-text-domain' ), $item->get_date('j F Y | g:i a') ); ?>">
                    <?php echo esc_html( $item->get_title() ); ?>
        <?php endforeach; ?>
    <?php endif; ?>

You can customize this code by changing the title on line 1, the feed URL on line 7, the number of items to display on line 12, and any other settings you want.

We hope this tutorial helped you learn how to display any RSS feed on your WordPress blog. You can also check out our comparison of the best domain name registrars or check out our list of proven ways to make money blogging online with WordPress.

If you liked this article, subscribe to our Youtube channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Display Any RSS Feed on Your WordPress Blog first appeared on WPBeginner.

Leave a Comment

Your email address will not be published.