Support » Plugin: WP Featured Content Slider » Bugfix Suggestion ('cycle' not found)

  • Suggest replacing get_bloginfo(‘url’) with get_bloginfo(‘wpurl’) in featured-content-slider.php line 25 (function c_slider_add_scripts()) to handle sites where wordpress is installed in its own directory…like mine 🙂

    function c_slider_add_scripts() {
            if ( !is_admin() ) {
    /*
                    wp_register_script('jquery.cycle', get_bloginfo('url') . '/wp-content/plugins/wp-featured-content-slider/scripts/jquery.cycle.all.2.72.js', array('jquery'), '1.3' );
                    wp_enqueue_script('jquery.cycle');
    */
                    wp_register_script('jquery.cycle', get_bloginfo('wpurl') . '/wp-content/plugins/wp-featured-content-slider/scripts/jquery.cycle.all.2.72.js', array('jquery'), '1.3' );
                    wp_enqueue_script('jquery.cycle');
            }
    }

    http://wordpress.org/extend/plugins/wp-featured-content-slider/

  • The topic ‘Bugfix Suggestion ('cycle' not found)’ is closed to new replies.