WordPress.org

Ready to get started?Download WordPress

Forums

WP-Cycle
v.0.1.12 does not work with content and/or plugins directories renamed/moved (1 post)

  1. maxoud
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags