<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>Support Forum - Topic: Random Post in Gallery</title>
		<link>http://www.kriesi.at/support/topic/random-post-in-gallery</link>
		<description>Support Forum - Topic: Random Post in Gallery</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 01:11:34 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/random-post-in-gallery" rel="self" type="application/rss+xml" />

		<item>
			<title>James Morrison on "Random Post in Gallery"</title>
			<link>http://www.kriesi.at/support/topic/random-post-in-gallery#post-2475</link>
			<pubDate>Tue, 10 Aug 2010 13:51:27 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">2475@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; Sorry, you're right - it should be lowercase.&#60;/p&#62;
&#60;p&#62;Some variables need to be uppercase / some need to be lowercase. I get them mixed up sometimes. :) &#60;/p&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>peter on "Random Post in Gallery"</title>
			<link>http://www.kriesi.at/support/topic/random-post-in-gallery#post-2415</link>
			<pubDate>Mon, 09 Aug 2010 21:34:52 +0000</pubDate>
			<dc:creator>peter</dc:creator>
			<guid isPermaLink="false">2415@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I solved the problem,&#34;RAND&#34; should be lowercase, not uppercase:&#60;/p&#62;
&#60;p&#62;$additional_loop = new WP_Query(&#34;paged=$paged&#38;amp;cat=&#34;.$k_option['gallery']['gallery_cat_final'].&#34;&#38;amp;posts_per_page=&#34;.$k_option['gallery']['post_count'].&#34;&#38;amp;orderby=rand&#34;);&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>peter on "Random Post in Gallery"</title>
			<link>http://www.kriesi.at/support/topic/random-post-in-gallery#post-2385</link>
			<pubDate>Mon, 09 Aug 2010 17:29:02 +0000</pubDate>
			<dc:creator>peter</dc:creator>
			<guid isPermaLink="false">2385@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;No work, I tested a clean install, without modification (except this modificaton &#34;&#38;amp;orderby=RAND&#34;) and it works just as without orderby=RAND
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "Random Post in Gallery"</title>
			<link>http://www.kriesi.at/support/topic/random-post-in-gallery#post-2373</link>
			<pubDate>Mon, 09 Aug 2010 16:02:03 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">2373@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;For Expose, the setup of the query_string is slightly different and is in index.php not kclass_display_box.php.&#60;/p&#62;
&#60;p&#62;On line 14 of index.php, you should find this code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$additional_loop = new WP_Query(&#38;quot;paged=$paged&#38;amp;cat=&#38;quot;.$k_option[&#38;#39;gallery&#38;#39;][&#38;#39;gallery_cat_final&#38;#39;].&#38;quot;&#38;amp;posts_per_page=&#38;quot;.$k_option[&#38;#39;gallery&#38;#39;][&#38;#39;post_count&#38;#39;]);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You need to add &#60;strong&#62;orderby=RAND&#60;/strong&#62; here like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$additional_loop = new WP_Query(&#38;quot;paged=$paged&#38;amp;cat=&#38;quot;.$k_option[&#38;#39;gallery&#38;#39;][&#38;#39;gallery_cat_final&#38;#39;].&#38;quot;&#38;amp;posts_per_page=&#38;quot;.$k_option[&#38;#39;gallery&#38;#39;][&#38;#39;post_count&#38;#39;].&#38;quot;&#38;amp;orderby=RAND&#38;quot;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>peter on "Random Post in Gallery"</title>
			<link>http://www.kriesi.at/support/topic/random-post-in-gallery#post-2308</link>
			<pubDate>Mon, 09 Aug 2010 09:39:21 +0000</pubDate>
			<dc:creator>peter</dc:creator>
			<guid isPermaLink="false">2308@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Kriesi,&#60;br /&#62;
Thanks for this great theme&#60;/p&#62;
&#60;p&#62;I would like the option to shuffle random posts in the gallery post (instead of displaying the most recent posts).&#60;br /&#62;
In Display theme support you recommended edit the query string add orderby=RAND in kclass_display_box.php but I don't know where.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
