WordPress.org

Ready to get started?Download WordPress

Forums

WP Featured Content Slider
Bugfix Suggestion ('cycle' not found) (1 post)

  1. elihub
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic