WordPress.org

Support

Support » Plugins and Hacks » WP-Cycle » [Plugin: WP-Cycle] v.0.1.12 does not work with content and/or plugins directories renamed/moved

[Plugin: WP-Cycle] v.0.1.12 does not work with content and/or plugins directories renamed/moved

  • Author have to use WP_PLUGIN_DIR constant for the plugin path:

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

    should sound like

    function wp_cycle_scripts() {
    	if(!is_admin())
    	wp_enqueue_script('cycle', WP_PLUGIN_DIR.'/wp-cycle/jquery.cycle.all.min.js', array('jquery'), '', true);
    }

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

  • The topic ‘[Plugin: WP-Cycle] v.0.1.12 does not work with content and/or plugins directories renamed/moved’ is closed to new replies.
Skip to toolbar