If you are a theme author and what to make your theme compatible with this plugin, you have a couple of options.
First of all, the theme settings defaults are filterable. Therefore, you have the ability, from within your theme's functions.php file, to set the defaults for this plugin. The filter you want to use is wp_cycle_defaults and you need to set your return function to return an array. For example:
<?php
add_filter('wp_cycle_defaults', 'my_theme_wp_cycle_defaults');
function my_theme_wp_cycle_defaults() {
$defaults = array(
'rotate' => 1,
'effect' => 'fade',
'delay' => 3,
'duration' => 1,
'img_width' => 300,
'img_height' => 200,
'div' => 'rotator'
);
return $defaults;
}
?>
Change the array values to what you need for your theme. The user will be able to change them, if they so desire, but you'll be able to at least start them off right.




