Hi:
I noticed that the thread located at: http://www.kriesi.at/support/topic/default-background-image-gallery-random is CLOSED for further comments.
But, I have a question related to exactly this topic. I would like the default background gallery to load images in random order. (An options pulldown box for display order when uploading any kind of galleries would be even better!...)
Kriesi submitted a solution if / else statement that would apparently filter only the background gallery to load in random order. But, I don't know where to try inserting that code into the includes / helper-slideshow.php file!?....
The previous user said he tried editing the line ‘orderby’ => ‘menu_order ID’)); to read ‘orderby’ => ‘rand’)).....
But, this 'orderby' line appears at least 2 times through the file.
I am assuming Kriesi meant to substitute the if / else statement for the entire code block:
$attachments = get_children(array('post_parent' => $attachment_holder['ID'],
'post_status' => 'inherit',
'post_type' => 'attachment',
'post_mime_type' => 'image',
'order' => 'ASC',
'orderby' => 'menu_order ID'));
?
Thanks for reading!














