How to display any RSS feed on your WordPress blog


Want to display RSS feeds from other sites on your WordPress blog?

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

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

Why run any RSS feed on your WordPress blog?

All WordPress blogs have built-in support for RSS feeds. This allows your users to receive regular updates from your site using an RSS feed reader such as Feedly.

You can even use RSS feed integration to send notifications of new posts to your users via e-news in push notifications.

The RSS feed of your blog is simply the title of the site with / feed / added at the end.

Many people are unaware that you can also use RSS to pull content from other sites on your own.

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

Given this, let’s look at how to display any RSS feed on your WordPress blog. We will consider four methods:

View any RSS feed with the gadget

You can display an inline RSS feed on your WordPress blog WordPress utility. Just scroll to Appearance »Accessories and then click the blue block insertion button at the top of the screen.

WordPress RSS Gadget

Then you need to find the RSS gadget and drag it to the sidebar or other area that is ready for widgets. After that, you just need to enter or paste the RSS feed you want to display.

For this tutorial, we will add the WPBeginner RSS feed located at We will also add an address with the address block.

This is what the RSS gadget looks like in our test WordPress blog.

Preview WordPress RSS Gadget

Note that the default RSS gadget comes with very basic features. For example, it does not allow the addition of thumbnails, social buttons, or other customizations. To add these additional features, it is better to use a plug-in.

View any RSS feed with a plug-in

WP RSS aggregator is the best WordPress RSS Plugin. It allows you to view RSS feeds on your WordPress blog, and by purchasing premium add-ons, you can turn your WordPress blog into a content collector without any coding.

The first thing you need to do is install and activate for free WP RSS aggregator to include. See our step-by-step guide for more details how to install wordpress plugin.

After activation, you will need to add your first RSS feed URL. We will add for this tutorial Once you’ve entered the source URL, you’ll need to click the “Next” button at the bottom of the page.

Enter the URL of the feed in the WP RSS Aggregator settings

On the next page, you’ll see the latest feeds from the RSS feed you’re linked to.

You can click the “Create draft page” button to add a resource to the new draft page, or use short code on the right to add them to any post, page, or gadget area.

Click the

We will click the “Create draft page” button for this tutorial. The page is created automatically and the text of the button changes to “Page Preview”.

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

Preview the WP RSS aggregation feed

The page displays a highlighted list of links to the last three posts in the feed, along with information about the feed and the date the post was posted.

This plug becomes a real powerhouse when you use them premium accessories. 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.

Add-ons WP RSS Aggregator

With these add-ons, you can use this plug-in to blog automatically. However, you need to be careful. Scraping all content from third-party websites may result in copyright infringement and legal issues.

View social media resources with a plug-in

Adding social media resources to your WordPress blog can help increase your followers, improve social engagement, and enrich your existing content.

Smash Balloon or is it the best social media plug-in for WordPress and is trusted by more than 1.75 million users.

In fact, it’s a combination of plug-ins that make it easy to create and display custom feeds from Facebook, Instagram, Twitter, and YouTube on your WordPress blog.

Add a Facebook social media resource to WordPress

You can add a Facebook resource to your site by installing and activating itFacebook Feed Custom Smash Balloonto include.

There is also a free version which allows you to create basic Facebook resources, but doesn’t include all the advanced features like embedding photos, albums, and more.

Smash Balloon allows you to combine resources from multiple Facebook pages and customize the look of your Facebook resource without coding.

Plugin for Facebook Feed Smash Balloon

See our guide at for more details how to create a custom facebook in wordpress.

Adding an Instagram social media feed to WordPress

Source on Instagram Smash Balloon is the best plugin for Instagram resource for WordPress. Pro in free version plug-in is available.

This plugin allows you to view Instagram content with a hashtag or account. You can also display comments and the number of likes, include pop-up pop-ups, and more.

Smash Balloon Instagram Feed Plugin

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

Add Twitter social media source to WordPress

Smash Balloon custom Twitter feeds is the best plugin for Twitter source for WordPress and there are professional and free versions available.

The plugin allows you to do things like show multiple Twitter feeds, reply, like and re-tweet while staying on your site, and display full tweets in light boxes.

Smash Balloon Custom Twitter Feeds Plugin

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

Adding YouTube’s social media resource to WordPress

YouTube Resources by Smash Balloon is the best YouTube social media plug-in available for WordPress, and there are professional and free versions available plug-in.

The plugin allows you to create a custom gallery from all of your channels, add live streaming, use advanced search queries to create custom resources, and more.

You can also choose from a variety of layout templates to change the look of your video source.

YouTube resources with the Smash Balloon plugin

See our guide at for more detailed instructions creating a YouTube gallery in WordPress.

Display any RSS feed using code

With the code, you can use the built-in WordPress feature to display any RSS feed on your blog.

Simple paste the following code to any WordPress file you choose. 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 address in line 1, the source URL in line 7, the number of items to display in line 12, and any other setting you like.

We hope this tutorial has helped you learn how to display any RSS feed on your WordPress blog. You may also want to see ours comparison of the best domain name registrarsor check out our list proven ways to make money on a web blog with WordPress.

If you liked this article, subscribe to our YouTube channel for WordPress video tutorials. You can also find us at Twitter in Facebook.

Publication How to display any RSS feed on your WordPress blog first appeared on WPBeginner.


Leave a Comment

error: Content is protected !!