Title: Carousel step
Last modified: September 1, 2016

---

# Carousel step

 *  Resolved [birdm](https://wordpress.org/support/users/birdm/)
 * (@birdm)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/carousel-step/)
 * Hello
    is it possible to force some kind of steps in carousel(flex slider), for
   example by 1 or 2 slides?
 * [https://wordpress.org/plugins/ml-slider/](https://wordpress.org/plugins/ml-slider/)

Viewing 1 replies (of 1 total)

 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/carousel-step/#post-7538166)
 * Hi there,
 * It’s possible to force the min and max no. of slides with some custom code:
 *     ```
       function metaslider_change_filmstrip_parameters($params, $slider_id, $settings) {
   
            if ( $slider_id == XXX ) { // replace XXX with your slideshow ID
                $params['itemMargin'] = 0;
                $params['maxItems'] = 5;
                $params['minItems'] = 5;
            }
   
            return $params;
       }
       add_filter('metaslider_flex_slider_filmstrip_parameters', 'metaslider_change_filmstrip_parameters', 10, 3);
       ```
   
 * The above code if placed in the theme’s functions.php file will try to force 
   the carousel to display 5 images at once.
 * Thanks,
    Dave

Viewing 1 replies (of 1 total)

The topic ‘Carousel step’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3523572)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/carousel-step/#post-7538166)
 * Status: resolved