Display RSS feed in theme

Wpsnipp – This is a handy bit of code that can be used to list recent posts from your favorite blog/RSS feed in your WordPress theme.For example, let’s say you love ChurchMag so much, you decide to list our five most recent posts in your sidebar.Adding this PHP code to your wordpress theme will allow you to display an RSS feed within your theme.



wp_rss('http://feeds2.feedburner.com/wpsnipp', 5);

Leave a comment