WordPress.org

Ready to get started?Download WordPress

Forums

Responsive Slider
Only the first slide is being shown (4 posts)

  1. pies
    Member
    Posted 1 year ago #

    I've added two slides, but the slider behaved like there was only one. I fixed by changing a line in the responsive_slider() function from:

    $slides = new WP_Query( array( 'post_type' => 'slides', 'order' => 'ASC', 'orderby' => 'menu_order') );

    to:

    $slides = new WP_Query( array( 'post_type' => 'slides', 'order' => 'ASC', 'orderby' => 'menu_order', 'nopaging' => 1 ) );

    http://wordpress.org/extend/plugins/responsive-slider/

  2. Griden
    Member
    Plugin Author

    Posted 1 year ago #

    Good idea, thanks! Adding it to the plugin.

    I guess you have the posts number in Settings ➝ Reading set to '1'?

  3. pies
    Member
    Posted 1 year ago #

    Yeah, it's the default in the Gantry framework. Thanks :)

  4. Uwe666
    Member
    Posted 1 year ago #

    I've the same problem!

    WP 3.5
    Responsive Slider 0.1.8

    With three images!
    Copied already the code from user pies in the responsive_slider() function!

    And SETTINGS > READING number to three!

    The first image is displayed, but after some seconds the area is empty!

    Please help ... ;)

    update: it works only if the mouse is over the images ... ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.