<?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: Randomize Slide order in slider for Choices Theme</title>
		<link>http://www.kriesi.at/support/topic/randomize-slide-order-in-slider-for-choices-theme-2</link>
		<description>Support Forum - Topic: Randomize Slide order in slider for Choices Theme</description>
		<language>en-US</language>
		<pubDate>Wed, 22 May 2013 16:24:15 +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/randomize-slide-order-in-slider-for-choices-theme-2" rel="self" type="application/rss+xml" />

		<item>
			<title>zorrolynx on "Randomize Slide order in slider for Choices Theme"</title>
			<link>http://www.kriesi.at/support/topic/randomize-slide-order-in-slider-for-choices-theme-2#post-83196</link>
			<pubDate>Sat, 10 Nov 2012 09:00:30 +0000</pubDate>
			<dc:creator>zorrolynx</dc:creator>
			<guid isPermaLink="false">83196@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Perfect!&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Randomize Slide order in slider for Choices Theme"</title>
			<link>http://www.kriesi.at/support/topic/randomize-slide-order-in-slider-for-choices-theme-2#post-83183</link>
			<pubDate>Sat, 10 Nov 2012 07:17:08 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">83183@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; Please replace:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$this-&#38;gt;slides = avia_post_meta($this-&#38;gt;post_id, &#38;#39;slideshow&#38;#39;);
shuffle($this-&#38;gt;slides);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$this-&#38;gt;slides = avia_post_meta($this-&#38;gt;post_id, &#38;#39;slideshow&#38;#39;);
if(is_array($this-&#38;gt;slides)){
shuffle($this-&#38;gt;slides);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Randomize Slide order in slider for Choices Theme"</title>
			<link>http://www.kriesi.at/support/topic/randomize-slide-order-in-slider-for-choices-theme-2#post-83106</link>
			<pubDate>Fri, 09 Nov 2012 18:12:20 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">83106@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey zorrolynx,&#60;/p&#62;
&#60;p&#62;I think it just needs an 'if slideshow than shuffle else nothing' but I'm not sure about that within the whole function. I've tagged another support crew on this who should be able to shed some light on it and correct the code :)&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>zorrolynx on "Randomize Slide order in slider for Choices Theme"</title>
			<link>http://www.kriesi.at/support/topic/randomize-slide-order-in-slider-for-choices-theme-2#post-83079</link>
			<pubDate>Fri, 09 Nov 2012 17:02:39 +0000</pubDate>
			<dc:creator>zorrolynx</dc:creator>
			<guid isPermaLink="false">83079@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;This only happens if I do not have a slideshow on the page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>zorrolynx on "Randomize Slide order in slider for Choices Theme"</title>
			<link>http://www.kriesi.at/support/topic/randomize-slide-order-in-slider-for-choices-theme-2#post-83075</link>
			<pubDate>Fri, 09 Nov 2012 16:41:10 +0000</pubDate>
			<dc:creator>zorrolynx</dc:creator>
			<guid isPermaLink="false">83075@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;You previously helped me randomize the order of the slides, and it works great on the home page, but now that I am building the other pages, I get this on all pages:&#60;/p&#62;
&#60;p&#62;&#34;Warning: shuffle() expects parameter 1 to be array, boolean given in /home/content/73/8802073/html/imt/wp-content/themes/choices/includes/helper-slideshow.php on line 36&#34;&#60;/p&#62;
&#60;p&#62;This is what I added to the helper-slideshow.php:&#60;/p&#62;
&#60;p&#62;$this-&#38;gt;slides 			= avia_post_meta($this-&#38;gt;post_id, 'slideshow');&#60;/p&#62;
&#60;p&#62;with:&#60;/p&#62;
&#60;p&#62;$this-&#38;gt;slides 			= avia_post_meta($this-&#38;gt;post_id, 'slideshow');&#60;br /&#62;
shuffle($this-&#38;gt;slides);
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
