Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, I solved it by the shuffle php function.
    I put the shuffle($wp_cycle_images); on line 407 in wp-cycle.php before the foreach function begins:

    406	echo '<div id="'.$wp_cycle_settings['div'].'">'.$newline;
    407	shuffle($wp_cycle_images);
    408	foreach((array)$wp_cycle_images as $image => $data) {
    409...

    That will randomize the order of the images in the html file… give it a try.
    It works for me.

    Thread Starter greencode

    (@greencode)

    Sorry for taking so long to get back (I wish there was some kind of notification system on WordPress Support!). I’ll give this a try next week, when I’m back in the office, and let you know how I get on.

    Thread Starter greencode

    (@greencode)

    Hi tric3x. Finally got around to implementing this today and it works perfectly – really great addition to an already simple and great plugin. Thanks.

    Upon adding the shuffle function, I lost my ability to delete slides. Any one else experiencing this?

    Super adon, just what I was looking for:-) and I can still delete slides.

    Thanks trix3x! I imagined this and you are here with the solution! XD

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP-Cycle] Random Function’ is closed to new replies.