wp-cycle does not rotate
-
Hey! I had the wp-cycle installed for a month or so and it worked fine. but, recently the plugin stop rotating for no reason. I have in my header.php this piece of code:
<?php if ( is_front_page() ) {
wp_cycle();
}
?>And in my wp-cycle.php I have:
<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>And finally I get in the developer tools of chrome the following message:
Uncaught TypeError: Object [object Object] has no method ‘cycle’
Thanks for the help!
- The topic ‘wp-cycle does not rotate’ is closed to new replies.