<?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>iWP.me &#187; Random</title>
	<atom:link href="http://iwp.me/tag/random/feed/" rel="self" type="application/rss+xml" />
	<link>http://iwp.me</link>
	<description>All that stuffs about WordPress and Web Design!</description>
	<lastBuildDate>Tue, 07 Oct 2008 14:05:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to display random posts without plugin?</title>
		<link>http://iwp.me/how-to-display-random-posts-without-plugin/</link>
		<comments>http://iwp.me/how-to-display-random-posts-without-plugin/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 14:47:36 +0000</pubDate>
		<dc:creator>Chada</dc:creator>
				<category><![CDATA[Theme Tips]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://iwp.me/?p=8</guid>
		<description><![CDATA[Yes there are so many plugins that can help you display random posts , But you know that plugins will slow down your WordPress blog. Here I want to show you how to dis play random posts without plugin. <a href="http://iwp.me/how-to-display-random-posts-without-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yes there are so many plugins that can help you display random posts , But you know that plugins will slow down your WordPress blog. Here I want to show you how to dis play random posts without plugin.</p>
<p><a href="http://Howtodisplayrandompostswithoutplugin"><img class="aligncenter size-full wp-image-21" title="random" src="http://iwp.me/wp-content/uploads/2008/09/random.gif" alt="" width="481" height="122" /></a></p>
<p>Just add the codes below to your sidebar or anywhere you want:</p>
<pre lang="php">
< ?php $rand_posts = get_posts('numberposts=5&#038;orderby=rand');
foreach( $rand_posts as $post ) : ?>
<li><a href="<?php the_permalink(); ?>">< ?php the_title(); ?></a></li>

< ?php endforeach; ?>
</pre>
<p>The 5 in the codes above is the numble of those posts will display. Yes, it is very easy!</p>
<p>[via <a href="http://codex.wordpress.org/Template_Tags/get_posts#Random_posts" target="_blank">WordPress Codex</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://iwp.me/how-to-display-random-posts-without-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
