Yep, you can do this using metadata:
[meteor_slideshow metadata="random: 1"]
I’m using the slide show in a page with that code : [meteor_slideshow slideshow=”comediens-slide-show”]
Will it work ?
Sure, try it like this:
[meteor_slideshow slideshow="comediens-slide-show" metadata="random: 1"]
How can I add “random” to the php? I have Meteor Slide in my header and I would like the header images to be random.
This is what I have in my header:
<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
Love your plugin!
Hi Todd, thanks for trying my plugin! Using metadata with the template tag is very similar to the shortcode:
<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow( "", "random: 1" ); } ?>
JLeuze,
Thanks a million for such a quick response. I figured I could use metadata and a template tag, but I’m not as fluent with php as I wish.
Again, great plugin. I’ll be using it quite often!