WordPress.org

Ready to get started?Download WordPress

Forums

WP-Cycle
Multiple WP-Cycle's (3 posts)

  1. lord_dev
    Member
    Posted 2 years ago #

    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/

  2. tomas.halo
    Member
    Posted 2 years ago #

    This solution is in conflict with other activated plugins using jquery, for example "TheThe Sliding Panels".

  3. ildario
    Member
    Posted 2 years ago #

    @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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags