WordPress.org

Support

Support » Plugins and Hacks » Only the first slide is being shown

Only the first slide is being shown

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Griden

    @griden

    Good idea, thanks! Adding it to the plugin.

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

    Yeah, it’s the default in the Gantry framework. Thanks 🙂

    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 … 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only the first slide is being shown’ is closed to new replies.