Support » Plugin: WP-Cycle » How to change order?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi glowbewohner !!

    give this a try .

    you will have to edit (wp-cycle.php) this file in wp_cycle plugin.

    <script type="text/javascript">
    jQuery(document).ready(function($) {
    	$("#<?php echo $wp_cycle_settings['div']; ?>").cycle({
    	    fx: '<?php echo $wp_cycle_settings['effect']; ?>',
    	    timeout: <?php echo ($wp_cycle_settings['delay'] * 1000); ?>,
    	    speed: <?php echo ($wp_cycle_settings['duration'] * 1000); ?>,
    	    pause: 1,
    	    fit: 1
    	});
    });
    </script>

    find this script in the bottom of the page. add
    random: 1
    below fit: 1

    don’t forget to add a (,)comma after fit: 1

    see if it helps .

    Hi, i’ve tried this, but it doesnt work for me 🙁
    Do i need some changes in the jquery.cycle.all.min ?

    normally it works. can you post a link to your site here. ?

    hi glowbewohner,

    have you added the code random: 1 there. ?

    its not showing up here. can you please write the part of code you modified ?

    jeah, i’ve tried. But i changed it back.

    Ok. can you please add it once more. It did work when I tried this.

    I think we get it now . THX

    Great. please mark the issue resolved.

    At first time you write we have to add:
    random: 1
    below fit: 1

    but “below fit: 1” destroyed the result. The correct code is:

    <script type="text/javascript">
    jQuery(document).ready(function($) {
                    $("#<?php echo $wp_cycle_settings['div']; ?>").cycle({
                        fx: '<?php echo $wp_cycle_settings['effect']; ?>',
                        timeout: <?php echo ($wp_cycle_settings['delay'] * 1000); ?>,
                        speed: <?php echo ($wp_cycle_settings['duration'] * 1000); ?>,
                        pause: 1,
                        fit: 1,
                        random: 1
                    });
    });
    </script>

    Oh. my bad. I really didn’t think about this. actually I have used it on my slides. and in the same way you mentioned. I am really sorry I forgot to notice that sequence.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to change order?’ is closed to new replies.