<?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: Default Background Image Gallery random?</title>
		<link>http://www.kriesi.at/support/topic/default-background-image-gallery-random</link>
		<description>Support Forum - Topic: Default Background Image Gallery random?</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 17:05:04 +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/default-background-image-gallery-random" rel="self" type="application/rss+xml" />

		<item>
			<title>Kriesi on "Default Background Image Gallery random?"</title>
			<link>http://www.kriesi.at/support/topic/default-background-image-gallery-random#post-47180</link>
			<pubDate>Tue, 20 Mar 2012 17:20:59 +0000</pubDate>
			<dc:creator>Kriesi</dc:creator>
			<guid isPermaLink="false">47180@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey!&#60;/p&#62;
&#60;p&#62;you could try it with an if else statement:&#60;/p&#62;
&#60;pre&#62;
if($this-&#38;gt;settings['gallery_layout'] == &#34;bg_gallery&#34;)
		{
			$attachments = get_children(array('post_parent' =&#38;gt; $attachment_holder['ID'],
                        'post_status' =&#38;gt; 'inherit',
                        'post_type' =&#38;gt; 'attachment',
                        'post_mime_type' =&#38;gt; 'image',
                        'order' =&#38;gt; 'ASC',
                        'orderby' =&#38;gt; 'rand'));
		}
		else
		{
		$attachments = get_children(array('post_parent' =&#38;gt; $attachment_holder['ID'],
                        'post_status' =&#38;gt; 'inherit',
                        'post_type' =&#38;gt; 'attachment',
                        'post_mime_type' =&#38;gt; 'image',
                        'order' =&#38;gt; 'ASC',
                        'orderby' =&#38;gt; 'menu_order ID'));
		}
&#60;/pre&#62;</description>
		</item>
		<item>
			<title>sessionstudio on "Default Background Image Gallery random?"</title>
			<link>http://www.kriesi.at/support/topic/default-background-image-gallery-random#post-46517</link>
			<pubDate>Thu, 15 Mar 2012 23:13:47 +0000</pubDate>
			<dc:creator>sessionstudio</dc:creator>
			<guid isPermaLink="false">46517@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;help me!!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sessionstudio on "Default Background Image Gallery random?"</title>
			<link>http://www.kriesi.at/support/topic/default-background-image-gallery-random#post-46313</link>
			<pubDate>Wed, 14 Mar 2012 21:01:44 +0000</pubDate>
			<dc:creator>sessionstudio</dc:creator>
			<guid isPermaLink="false">46313@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;hi can configure Default Background Image Gallery at random? how?&#60;br /&#62;
(only images that are in Default Background Image Gallery) no images of the portfolio &#60;/p&#62;
&#60;p&#62;change in the helper-slideshow.php file, the line ‘orderby’ =&#38;gt; ‘menu_order ID’)); for ‘orderby’ =&#38;gt; ‘rand’)), but that change all the images in random order (including the portfolio)&#60;/p&#62;
&#60;p&#62;sorry for my English&#60;br /&#62;
thank you very much!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
