<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WordPress Hacks &#187; Forums</title>
	<atom:link href="http://wphacks.com/tag/wordpress-forums/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Fri, 25 May 2012 20:07:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How To: Adding an External RSS Feed to Your WordPress Blog</title>
		<link>http://wphacks.com/how-to-adding-an-external-rss-feed-to-your-wordpress-blog/</link>
		<comments>http://wphacks.com/how-to-adding-an-external-rss-feed-to-your-wordpress-blog/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 08:00:09 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[External RSS Feed]]></category>
		<category><![CDATA[Forums]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress RSS Feed]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1382</guid>
		<description><![CDATA[Have you ever wanted to add an external RSS feed to your WordPress blog?  This is a great way to promote one of your other blogs (if it is in a similar niche) on a more popular site you run. Most of you will probably remember that about a month ago we finally got around [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wanted to add an external RSS feed to your WordPress blog?  This is a great way to promote one of your other blogs (if it is in a similar niche) on a more popular site you run.</p>
<p>Most of you will probably remember that about a month ago we finally got around to launching our <a href="http://wpforums.com/">WordPress Forums</a>, which has an <a href="http://wpforums.com/external.php?type=RSS2">RSS feed</a> associated with it.   In order to cross-promote our forums on this site, I wanted to display our most recent forum posts in the sidebar here at <a href="http://wphacks.com/">WordPress Hacks</a>.</p>
<p>In order to accomplish this, I grabbed the following code from <a href="http://www.smashingmagazine.com/2008/12/02/10-useful-rss-hacks-for-wordpress/">Jean&#8217;s post over at Smashing Magazine</a>:</p>
<p><code>&lt;?php include_once(ABSPATH.WPINC.'/rss.php');<br />
wp_rss('http://wpforums.com/external.php?type=RSS2', 5); ?&gt;</code></p>
<p>It takes the rss.php file that is built into WordPress (used for widgets).  In this code it is set to display the most recent 5 posts from the RSS feed &#8220;http://wpforums.com/external.php?type=RSS2.&#8221;</p>
<p>Here is how it looks:</p>
<p><a href="http://wphacks.com/wp-content/uploads/2008/12/wp-forums-sidebar.png"><img class="alignnone size-full wp-image-1383" title="wp-forums-sidebar" src="http://wphacks.com/wp-content/uploads/2008/12/wp-forums-sidebar.png" alt="" width="325" height="245" /></a></p>
<p>I have gone ahead and added this to our <a href="http://wphacks.com/huge-compilation-of-wordpress-code/">WordPress Code</a> page for easy reference.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1382&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-adding-an-external-rss-feed-to-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

