[Theme: Sight] Randomizing order of slideshow
Goal: How to make the order of pictures in Sight’s slideshow random
I came across this “need” on a few forums (where I could not be asked to create yet another account in order to reply) so I thought I’d quickly document this here.
Sight uses the id’s of your posts, to determine in which reverse order to display the header pictures in the slideshow. So there’s a rapid fix you can apply in slideshow.php:
On line 8 of slideshow.php, you have
$slides = get_posts($args);
All you need, is to add a little
and you’re done, the order is now random.
Hope this helps – and if this is a duplicate, just delete my post.
- The topic ‘[Theme: Sight] Randomizing order of slideshow’ is closed to new replies.