How to Use RSS in WordPress

One of the benefits of WordPress is it has RSS built in. RSS (Really Simple Syndication, or Rich Site Summary) is an easy way to syndicate content, which is published as feeds, and make it easy for that content to be consumed online and through RSS readers.

One of the benefits of WordPress is it has RSS built in. RSS (Really Simple Syndication, or Rich Site Summary) is an easy way to syndicate content, which is published as feeds, and make it easy for that content to be consumed online and through RSS readers.rss-40674_960_720

RSS is an XML file that includes either the full text or a summary of the post, the publishing date, author’s name, and categories that can be read using apps such as RSS readers, feed readers, and aggregators. These apps run on most devices including desktops and mobile, and you can even access them on the web. One of the greatest advantages is these feeds are all in one place, making it easy for the subscriber to see and read.

There are two ways that RSS feeds can be used:

RSS subscription – typically your visitors will subscribe to your feed so they can read your updates in their RSS readers. This is the most popular way that RSS feeds are used. Users can subscribe to the RSS feeds of your posts and comments and they’re alerted every time there’s an update, so they don’t have to visit the site just to check.

RSS Aggregation – another way RSS can be used is to aggregate feeds from outside sources. These can be displayed in posts and pages on your WordPress site for your visitors to see. Feeds can be posted automatically so you can set your site on autopilot, or manually so you can have full control over every post.

Let’s take a closer look at both methods of using RSS feeds.

RSS Subscriptions

RSS subscription

These feeds are published automatically, allowing you to publish your posts and not worry about your feeds. There are some things you can do though that will take your feeds to a whole new level and stand out from the crowd.

RSS is already activated in WordPress, but there are still some things you can do to customize how it works for your website.

RSS Settings

RSS Settings

In your dashboard, go to Settings and select Reading. Here you’ll find a few settings to give you control over how your subscribers receive your RSS feeds.

Syndication feeds show the most recent – you can choose the number of posts that show up in your subscriber’s RSS readers. 10 is the default.

For each article in a feed, show – here you can choose between full text and summary. If you choose full text they won’t have to come to your website to read the article. Summary gives them a small portion of the article and they can decide whether or not to come back to your site to read the rest.

Promoting Your RSS Feed

meta

One of the widgets that’s typically included with a WordPress installation is Meta. This includes a few links for site administration, logging in or out of the site, a link to WordPress.org, and links to RSS feeds for both entries and comments. Even though it has the links, the problem with Meta is it doesn’t do a lot to promote those links.

A better place to promote your RSS feeds is within your social media links. You can do this with an RSS icon in your sidebar using social icons. You can even get statistics for your feeds using Feedburner or Feedblitz. Feedburner gives you a subscription box that can go in your sidebar, which sends the feeds to your subscriber’s email inboxes.

RSS Feeds for Categories

The typical RSS feed links to all feeds for all categories, but you’re not limited to all categories. You can provide a way for your readers to subscribe to a feed based on individual categories. To do this, simply select the category’s tag on your website (by going to a post for the category or selecting the tag from a list). Then copy the URL and add /feed/ at the end. It will look like this:

SampleWordPressSite.com/sample-category/feed/

Now copy this URL and paste it in as the link for the RSS icon or text that you want to use to create the link.

As an example, I’m creating an RSS feed for the WP Mayor category called plugin reviews.

The URL for the category looks like this:

https://wpmayor.com/plugin-reviews/

Next, add feed/ to the end:

https://wpmayor.com/plugin-reviews/feed/

Now, create the link. My example looks like this:

Plugin Reviews RSS Feed

When readers click on this link they’re taken to the RSS feed for the category that they can then subscribe to using their RSS feed readers in their browsers or apps. The link can be placed over text or an image such as an RSS icon. I don’t recommend using it over a standard RSS icon because it can be confusing to your subscribers if it’s not identified as the category.

Custom Post Types

You can also create RSS feeds for custom post types. These are created in a similar way as feeds for categories. You’ll add the custom post type at the end of the feed URL. It would like something like this:

SampleWordPressSite.com/sample-category/feed/?post_type

You can also include custom taxonomies and tags. For example, if you have a post type for themes and a tag for magazine themes, the feed URL could look like this:

SampleWordPressSite.com/sample-category/feed/?post_type=themes=magazine

You would use this link in the same way you would the categories link.

RSS Aggregation

Another way to use RSS feeds is to place a feed aggregator on your WordPress website in order to post feeds from other sites. You can do this with a plugin such as WP RSS Aggregator. Let’s take a closer look.

WP RSS Aggregator

WP RSS Aggregator

WP RSS Aggregator is a free plugin that lets you bring in feeds from outside sources and post them in a post or page using shortcodes. Using premium extensions you can create posts automatically, filter by keywords, include thumbnails, categories, and full text, add the feeds to widgets, and have it to create new content based on the feeds that’s unique and readable.

Creating a New Feed

Creating a New Feed

Once you’ve installed the plugin, go to RSS Aggregator in the dashboard menu and select Add New. Create a name for the link, paste in the feed’s URL, and select the number of feeds you want to display. You can set the feed as active or paused, choose the update interval, schedule activation, and even have it to delete old feeds. Choose your settings and publish the feed.

Next, create a post or page and paste in the shortcodes you want.

shortcodes

If you want to make any modifications to the feeds you can also do that with the schortcodes. For example, if you want to only include feeds from certain sources, add the code for the source along with the source’s number. You’ll find this number in Feed Sources in the WP RSS Aggregator menu.

WP RSS Aggregator results

The result is a post with links to the original articles, complete with the source’s name and publish date. You can adjust how all of this looks and acts. For example, you can choose whether or not to show the date, change the date format, change the text preceding the source, show authors, set links to no follow, etc. If the article has video you can embed it into your post.

Embeding the Code

Rather than using a shortcode, you can embed the code within your theme.

To add the code to your template use the WordPress function do_shortcode()

The sample from the WP Aggregator shortcodes page shows example code that looks like this:

 

<?php

echo do_shortcode( '
' );

?>

Setting Parameters

You can modify the display using parameters within the code. You can see the shortcodes page for the parameters.

For example, if you want to set the number of links on the page you would use the limit filter:

Other parameters can be set, such as thumbnails, keywords, and categories, if you have the premium extensions.

Final Thoughts

RSS is a powerful tool for publishers using the WordPress platform. RSS is a great tool to efficiently syndicate content to be read in RSS readers and as aggregated content in WordPress pages and posts. Using WP RSS Aggregator you can post syndicated content from multiple sources and through extensions create new content that is unique and readable.

Now it’s your turn. How do you use RSS feeds? Do you set up buttons or links for categories or custom post types? Do you use RSS aggregation? Let us know in the comments below.

Randy A. Brown
Randy A. Brown
Randy A. Brown is a freelance writer from east TN specializing in WordPress and eCommerce. He's a longtime WordPress enthusiast and loves learning new things and sharing information with others. If he's not writing or reading, he's probably playing guitar. You can contact Randy at randyabrown.com. Follow him on Twitter: @randyabrown

Consider sharing this post so others can find it:

Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on telegram
Share on whatsapp
Share on pocket
Share on email

Join thousands of people receiving real-world, genuine evaluations of WordPress products and services just like this one every week.

Our Sponsors
Solid Affiliate
Contents

8 Responses

  1. This seems like a pretty complicated process for limited reward. I’m using http://www.gnow.it to create my WP RSS Feed. I can search for keywords and choose articles to add to the rss feed which then integrates into my wordpress page, social media and newsletter platform. Super easy.

    1. Hey Heather, this looks like a cool tool, I’m looking into it.

      But does it automate the process the way WP RSS Aggregator does? Or does it require continuous involvement from your end?

      Update: I’ve had a look, but I can’t see how to publish directly to WP…

  2. Hi
    This is prabhu. i’m a web developer. i love working in wordpress. initially i was not aware about RSS feed. later when i came to know the benefits of RSS i really like it. you article about how to usr RSS is useful for the beginners as well.
    Thankyou

    1. Hi David, in what way would you like to do that? How would each page be different to the other?

      1. Mark,

        My site is iimm7.com. One page is dedicated to emergency information. Another deals with health. I see keeping the RSS sources separated.

        1. Hi David, if your goal is to display different feeds of other sites on each of those pages, yes this can be done with the WP RSS Aggregator plugin. The shortcode or block you use to display the feeds allow you to select which sources to show.

          Does that answer your question?

Leave a Reply

Your email address will not be published. Required fields are marked *

The Beginner’s Handbook
From an introduction on how WordPress works to our recommendations on products and services.
👋 Hey there! We're Gaby and Mark
Every week we share tutorials and genuine reviews of WordPress products and services in our newsletter.
Thousands of people read it!
We’d love for you to join.
We’d love for you to join. Here’s what you’ll be getting:

A single weekly email directly to your inbox.