[Resolved] [Plugin: Meteor Slides] Make slideshow have a random order.
Love your slideshow script!
I wanted a random order of slides and thought I would share how to do that for anyone else here.
To get it to display in a random order add this “‘orderby’ => rand” to the below query.
code line : 9
$loop = new WP_Query( array( ‘post_type’ => ‘slide’, ‘slideshow’ => $slideshow, ‘posts_per_page’ => $options[‘slideshow_quantity’],’orderby’ => rand ) ); ?>
Maybe you might consider adding this feature as default?
Here are other order options instead of random. Maybe none could be the default? then a drop down on the options page to pick from the below?
Again thanks for the great plugin!
- The topic ‘[Resolved] [Plugin: Meteor Slides] Make slideshow have a random order.’ is closed to new replies.