Support » Plugin: WP-Cycle » Multiple WP-Cycle's

  • This is very doable. Simply follow these instructions:

    1. Clone the plugin folder and rename to ‘WP-Cycle2’
    2. Open wp-cycle2/wp-cycle.php
    3. Replace all ‘wp_cycle’ with ‘wp_cycle2’
    4. Replace all ‘wp-cycle’ with ‘wp-cycle2’
    5. Activate the plugin
    6. You will now see the cloned plugin in the Media admin menu
    7. Upload photos to WP-Cycle2
    8. Use shortcode [wp-cycle2] to post/page

    I’ve cloned 8 WP-Cycle’s for one website! You can also neaten this by renaming menu items etc.

    Hope this helps.

    Thanks,
    Lord_dev

    http://wordpress.org/extend/plugins/wp-cycle/

Viewing 2 replies - 1 through 2 (of 2 total)
  • This solution is in conflict with other activated plugins using jquery, for example “TheThe Sliding Panels”.

    @tomas.halo

    In order to avoid that problem, remove the following code from the duplicated wp-cycle.php (line 444) file, leaving it untouched on the original one:

    add_action('wp_print_scripts', 'wp_cycle2_scripts');
    function wp_cycle2_scripts() {
    	if(!is_admin())
    	wp_enqueue_script('cycle', WP_CONTENT_URL.'/plugins/wp-cycle2/jquery.cycle.all.min.js', array('jquery'), '', true);
    }

    Removing it will clean the code and avoid jquery bugs

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple WP-Cycle's’ is closed to new replies.