<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to Display a Random Testimonial or Post in&#160;WordPress</title>
	<atom:link href="http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/</link>
	<description>Websites designed and optimized for results.</description>
	<lastBuildDate>Sat, 13 Mar 2010 21:23:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris Gragg</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-1641</link>
		<dc:creator>Chris Gragg</dc:creator>
		<pubDate>Mon, 17 Aug 2009 16:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-1641</guid>
		<description>Good post on this topic.   I sphunn this one today.   
Best Regards, Chris</description>
		<content:encoded><![CDATA[<p>Good post on this topic.   I sphunn this one today.<br />
Best Regards, Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George Dickson</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-1633</link>
		<dc:creator>George Dickson</dc:creator>
		<pubDate>Sun, 16 Aug 2009 16:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-1633</guid>
		<description>many thanks for this info. implementing your information as we speak!</description>
		<content:encoded><![CDATA[<p>many thanks for this info. implementing your information as we speak!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-37</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Thu, 18 Jun 2009 00:49:11 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-37</guid>
		<description>Or Try &lt;code&gt;&#039;rand&#039;, &#039;category_name&#039; =&gt; SomeCategoryName, &#039;showposts&#039; =&gt; 1)); if (have_posts()) : while (have_posts()) : the_post(); ?&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Or Try <code>'rand', 'category_name' =&gt; SomeCategoryName, 'showposts' =&gt; 1)); if (have_posts()) : while (have_posts()) : the_post(); ?&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-36</link>
		<dc:creator>Felix</dc:creator>
		<pubDate>Fri, 15 May 2009 18:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-36</guid>
		<description>Hope I didn&#039;t miss something. That should do it:



Felix</description>
		<content:encoded><![CDATA[<p>Hope I didn&#8217;t miss something. That should do it:</p>
<p>Felix</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thisismyurl</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-43</link>
		<dc:creator>thisismyurl</dc:creator>
		<pubDate>Wed, 07 Jan 2009 01:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-43</guid>
		<description>Thanks Zack, it&#039;s a great piece of code.</description>
		<content:encoded><![CDATA[<p>Thanks Zack, it&#8217;s a great piece of code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zack Katz</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-42</link>
		<dc:creator>Zack Katz</dc:creator>
		<pubDate>Mon, 15 Dec 2008 15:31:52 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-42</guid>
		<description>@Naseer - you could do something like this: &lt;code&gt;$test_cat = get_the_category();&lt;/code&gt;. The problem is that if &lt;code&gt;get_the_category()&lt;/code&gt; returns more than one, it will be in an array.  Read &lt;a href=&quot;http://codex.wordpress.org/Template_Tags/get_the_category&quot; rel=&quot;nofollow&quot;&gt;WordPress Codex: get_the_category&lt;/a&gt; for more code and information.</description>
		<content:encoded><![CDATA[<p>@Naseer &#8211; you could do something like this: <code>$test_cat = get_the_category();</code>. The problem is that if <code>get_the_category()</code> returns more than one, it will be in an array.  Read <a  href="http://codex.wordpress.org/Template_Tags/get_the_category">WordPress Codex: get_the_category</a> for more code and information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naseer Ahmad</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-41</link>
		<dc:creator>Naseer Ahmad</dc:creator>
		<pubDate>Mon, 15 Dec 2008 09:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-41</guid>
		<description>how can i get the post of the open category...

like i have category &quot;Services&quot; and wants to open the related post at the bottom of post.

e.g. i have posts, design service, development service, etc... and when i select the category tab... other post will display at bottom...

How can i get this... plz reply ungently...
on my email webmaster [at] naseerahmad [dot] com

warm regards,
naseer</description>
		<content:encoded><![CDATA[<p>how can i get the post of the open category&#8230;</p>
<p>like i have category &#8220;Services&#8221; and wants to open the related post at the bottom of post.</p>
<p>e.g. i have posts, design service, development service, etc&#8230; and when i select the category tab&#8230; other post will display at bottom&#8230;</p>
<p>How can i get this&#8230; plz reply ungently&#8230;<br />
on my email webmaster [at] naseerahmad [dot] com</p>
<p>warm regards,<br />
naseer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayur</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-40</link>
		<dc:creator>Mayur</dc:creator>
		<pubDate>Tue, 25 Nov 2008 05:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-40</guid>
		<description>This works great:

http://codex.wordpress.org/Template_Tags/get_posts#Random_posts</description>
		<content:encoded><![CDATA[<p>This works great:</p>
<p><a  href="http://codex.wordpress.org/Template_Tags/get_posts#Random_posts">http://codex.wordpress.org/Template_Tags/get_posts#Random_posts</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Condurachi</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-38</link>
		<dc:creator>Daniel Condurachi</dc:creator>
		<pubDate>Fri, 14 Nov 2008 19:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-38</guid>
		<description>@zayn&#039;s method is very good. But you can not apply it without thinking. @joe, you said that you do query_posts(’cat=7&amp;showposts=1&amp;orderby=rand’);  The order in the query_posts matters. So what you do in there is 1st you choose all the posts from a certain category (7) then from all those post you choose just one by the default order which is by date, so you get the last post. After this you do random form one post which will always be 1

Thank you @zayn for your hint. I used your idea of just 2 word instead of a script with many many lines. A BIG thank you!</description>
		<content:encoded><![CDATA[<p>@zayn&#8217;s method is very good. But you can not apply it without thinking. @joe, you said that you do query_posts(’cat=7&amp;showposts=1&amp;orderby=rand’);  The order in the query_posts matters. So what you do in there is 1st you choose all the posts from a certain category (7) then from all those post you choose just one by the default order which is by date, so you get the last post. After this you do random form one post which will always be 1</p>
<p>Thank you @zayn for your hint. I used your idea of just 2 word instead of a script with many many lines. A BIG thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links for 8th October 2008 &#124; Velcro City Tourist Board</title>
		<link>http://www.seodenver.com/how-to-display-a-random-testimonial-or-post-in-wordpress/comment-page-1/#comment-39</link>
		<dc:creator>Links for 8th October 2008 &#124; Velcro City Tourist Board</dc:creator>
		<pubDate>Thu, 09 Oct 2008 00:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://katzwebdesign.wordpress.com/?p=40#comment-39</guid>
		<description>[...] How to Display a Random Testimonial or Post in WordPress [...]</description>
		<content:encoded><![CDATA[<p>[...] How to Display a Random Testimonial or Post in WordPress [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
