WordPress.org

Support

Support » Plugins and Hacks » WP Slick Slider » [Resolved] [Plugin: WP Slick Slider] Does not slide?

[Resolved] [Plugin: WP Slick Slider] Does not slide?

  • I just installed this version of Slick SLider and it seems that it is just the thing I need for my website.
    I created some slides, placed the code in the template and the slides are showing up, so that is good. But: they do not slide, unfortunatly. It is a fresh WP install and there are no other plugins installed yet.

    Can somebody help me?

    http://wordpress.org/extend/plugins/wp-slick-slider/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Cathy Tibbles

    @multitalentedmommy

    I am having the same issue. All slides are showing in a column down the page instead of sliding.

    Hi, I just installed this plugin today and found the same issue. I looked through the source code and found one “bug” on each of the CSS (wp-slick-slider/css/wpss_styles.css.php) and JS (wp-slick-slider/js/init.js.php) PHP files. The problem is on the first line of code after comment.

    require_once $_SERVER['DOCUMENT_ROOT'] . "/wp-load.php";

    This code is useful for the WordPress which are installed in the root directory (localhost), not for the sub-directory (localhost/blog).

    I tried to use one of the WordPress functions get_bloginfo to get the WordPress installation directory:

    get_bloginfo("url");

    But I think this function is used for the themes, not for the plugins since it cannot find the get_bloginfo function.

    My solution is to use relative path to point to wp-load.php in the WordPress root folder:

    require_once "../../../../wp-load.php";

    Change this with the original line for both files and the plugin will be functional properly.

    I really like this plugin since it allows not only the images as the slideshow, but I think it still needs improvement. For example, I’m having a hard time using this plugin to rearrange the order of the slides.

    Plugin Author Ben Casey

    @casben79

    Hi Guys, I think i will have to find a better way to initialise the JS file, It seems to be causing a lot of grief.

    I will try to push out an update today 🙂

    Plugin Author Ben Casey

    @casben79

    I just pushed an update, should be available any time now 🙂 Also added the ability to order the slides.

    I have the same problem…

    I cannot find any CSS folder in (wp-slick-slider/) Is it normal ?

    Where did you changed the require_once $_SERVER[‘DOCUMENT_ROOT’] . “/wp-load.php”; ?

    Plugin Author Ben Casey

    @casben79

    I Removed The $_SERVER['DOCUMENT_ROOT'] to instead print out the required JS in the head of the site.

    there is no “Standard” CSS, most of it is dynamic, You can enhance the styles, just add what you need in your theme, or if you are the roll your own type, you can disable CSS output all together in the plugin options.

    Cheers
    Ben

    Plugin Author Ben Casey

    @casben79

    can you point me to a URL where the plugin is not working?

    I used the plugin AnythingSlider for WordPress, and it is working like a charm ! No need to fight with the other plugin anymore !

    Thanks anyway !

    hi casben79, if i remove ‘$_SERVER[‘DOCUMENT_ROOT’]’ – how do i print the required JS ??? sorry i didn`t understand how to do it.

    Plugin Author Ben Casey

    @casben79

    Caricari,

    The latest versions of my plugin have the scripts hooked into wp_head as they are dynamic based on settings there is not really a need to have them attempt to appear as a static script.

    What version of wp-slick-slider are you using? the latest is 0.8 Available from the wordpress repository.

    Cheers
    Ben

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] [Plugin: WP Slick Slider] Does not slide?’ is closed to new replies.
Skip to toolbar