How to create RSS feed for your WordPress blog

How to create RSS feed for your WordPress blog

In this tutorial you’ll learn how to create and RSS feed for your blog. RSS feeds allow your visitors to keep track of your website news and updates without visiting your website each time. You can view RSS feeds from various websites using the Feed Reader application or web service.

There are several feed formats, you can learn more about setting up feeds from WordPress Codex. In this tutorial we’ll cover only the most important things.

You can create the RSS feed for your posts to display your blog updates. The other option is to display the comments RSS to let your customers subscribe for the comments tree.

URL for RDF/RSS 1.0 feed
<?php bloginfo('rdf_url'); ?>
URL for RSS 0.92 feed
<?php bloginfo('rss_url'); ?>
URL for RSS 2.0 feed
<?php bloginfo('rss2_url'); ?>
URL for Atom feed
<?php bloginfo('atom_url'); ?>
URL for comments RSS 2.0 feed
<?php bloginfo('comments_rss2_url'); ?>


Put the code for the RSS you want to display into the WordPress theme file to display the link. Using the CSS styles you can add the background image and colors.

For example to display the feed in the header edit wp-content/themes/theme###/header.php file.

You can also use some third party plugins to create RSS feeds for your WordPress blog but we recommend using default WordPress functions.

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.