Title: Only 5 slides allowed
Last modified: August 21, 2016

---

# Only 5 slides allowed

 *  Resolved [giuge](https://wordpress.org/support/users/giuge/)
 * (@giuge)
 * [12 years ago](https://wordpress.org/support/topic/only-5-slides-allowed/)
 * Thank you for the awesome work. Owlcarousel is one of my favorite plugin when
   it comes to sliders and carousels.
 * I used your WP plugin and everything works fine except that I only see 5 slides.
 * That’s the shortcode I used:
 * `[owl-carousel category="team" singleItem="true" autoPlay="false" navigation="
   true" ]`
 * Hope you can help me out fixing this issue.
 * [https://wordpress.org/plugins/owl-carousel/](https://wordpress.org/plugins/owl-carousel/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [pjehan](https://wordpress.org/support/users/pjehan/)
 * (@pjehan)
 * [12 years ago](https://wordpress.org/support/topic/only-5-slides-allowed/#post-4874071)
 * Hi!
 * Thank you for the feedback. There was a limit parameter in the query which returned
   only the first 5 results.
    Fixed in the latest version (0.3).
 * Thanks again for pointing out this bug.
 *  [orbit0](https://wordpress.org/support/users/orbit0/)
 * (@orbit0)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/only-5-slides-allowed/#post-4874101)
 * Same problem here, except now it’s limited to 10 items total no matter what settings
   I use, even though I have more than 10 items. Where can this be set or changed?
   My “items” are quite small, and I need to allow for upwards of 100 or more total,
   with up to 20 at a time (depending on screen size).
 *  Plugin Author [pjehan](https://wordpress.org/support/users/pjehan/)
 * (@pjehan)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/only-5-slides-allowed/#post-4874102)
 * My mistake. I removed the limit but the default value seems to be 10 posts max.
   
   You can override this value with either: ‘nopaging’ => true or ‘posts_per_page’
   => -1
 * You can add this parameter in the owlcarousel.php file (located in the wp-content/
   plugins folder) in the “owl_function” PHP function in the $args array.
 * Exemple:
 *     ```
       $args = array(
               'post_type' => 'owl-carousel',
               'category_name' => $atts['category'],
       		'nopaging' => true
           );
       ```
   
 * This will be fixed in the next version.
 * Thank you for the feedback!
 *  [orbit0](https://wordpress.org/support/users/orbit0/)
 * (@orbit0)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/only-5-slides-allowed/#post-4874107)
 * Excellent. That worked perfectly!
 * I’m pretty sure I’ve tried every single available carousel/slider plugin in the
   past few weeks, and your Owl Carousel plugin for WordPress is the best one by
   far. Thanks and keep up the great work.
 *  Plugin Author [pjehan](https://wordpress.org/support/users/pjehan/)
 * (@pjehan)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/only-5-slides-allowed/#post-4874121)
 * Thanks a lot.
 * I am working on the next version and this bug will be fixed. It also include 
   a new feature to use Owl Carousel instead of the standard slideshow with the 
   [WordPress gallery](http://codex.wordpress.org/The_WordPress_Gallery).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Only 5 slides allowed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/owl-carousel_1ab9bc.svg)
 * [Owl Carousel](https://wordpress.org/plugins/owl-carousel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/owl-carousel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/owl-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/owl-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/owl-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/owl-carousel/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [pjehan](https://wordpress.org/support/users/pjehan/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/only-5-slides-allowed/#post-4874121)
 * Status: resolved