RSS feeds are quite handy. You subscribe to a feed that can be read using an RSS reader, such as Google Reader; and they can be displayed in e-mail applications, such as Microsoft Outlook 2007 and later. But they can also be displayed on your blog!
How? You might ask? Well, it’s really simple. Just copy the following code and include it in the .php file of the page in your WordPress theme where you want the RSS feed to be displayed.
<?php include_once(ABSPATH . WPINC . '/rss.php');
wp_rss('http://feeds.feedburner.com/PoiesisWebDev', 3); ?>
This could be your theme’s sidebar, footer or a page template.
First line includes the rss.php file, which is a part of WordPress core and allows us to use the wp_rss() function, which appears in line 2. This function takes two parameters: the url of the RSS feed, and the number of RSS entries to be displayed.

Leave a reply