title: How to fix Owl-Carousel loop issue?
body: <p>I am creating a carousel with infinite loop in my website by using Owl-Carousel 2 but whatever I've tried, I could not make the carousel work. The carousel always moves little bit and comes back, it kind of stuck.  </p>
  
  <p>I have tried without loop and just autoPlay, then it works but no looping. Also, if I add autoplayHoverPause: true, with loop:true, it does not work unless I hover on the carousel, then it slides but of course loop still does not work. </p>
  
  <p>My Js;</p>
  
  <pre><code>$('.award-full-slider').each(function () {
      if ($(this).find('.item').length &gt; 1) {
          $(this).addClass('owl-carousel').owlCarousel({
  
  
            loop: true,
            autoplay : true,
            slideTransition: 'linear',
            autoplayTimeout : 10,
            autoplaySpeed : 15000,
            mouseDrag: false,
            dots: false,
            nav: false,
            autoplayHoverPause: true,
            responsive:{
                0:{
                    items:2,
                    nav:false,
                    loop:true,
                },
                600:{
                    items:4,
                    nav:false,
                    loop:true,
                },
                1000:{
                    items:6,
                    nav:false,
                    loop:true,
              }
            }
          });
      }
  });
  </code></pre>
  
  <p>The PHP loop code;</p>
  
  <pre><code>&lt;div class="home-award-area wrapper column" style="color:#0081ac !important"&gt;
  
  &lt;div class="home-award row-cont"&gt;
  &lt;div class="award-title"&gt;&lt;a href="&lt;?php echo home_url('news') ?&gt;" class="action underline"&gt;Awards &amp; Rankings&lt;/a&gt;&lt;/div&gt;
  
  &lt;div class="items award-full-slider"&gt;
  
  &lt;?php
  $query = new WP_Query(array(
  'post_type' =&gt; 'award',
  'posts_per_page' =&gt; 30,
  'orderby' =&gt; 'date',
  'order' =&gt; 'DESC',
  ));
  
  while ($query-&gt;have_posts()) : $query-&gt;the_post();
  $info = get_post_meta(get_the_ID(), '_post_info', true); if (!$info) $info = array();
  $post_elem=get_post();
  $postType = get_post_type_object(get_post_type());
      ?&gt;
  
  &lt;div class="item"&gt;
  
  &lt;div class="content"&gt;
  &lt;div class="country"&gt;
  
  &lt;?php
  
  $term = get_the_terms($ID,'award-country');
  if ( ! empty( $term ) ) {
  $term = $term[0];
  ?&gt;
  &lt;?php echo $term-&gt;name ?&gt;
  &lt;?php
  }
  
  ?&gt;
  &lt;/div&gt;
  
  &lt;div class="category"&gt;
  
  &lt;?php
  
  $term = get_the_terms($ID,'award-category');
  if ( ! empty( $term ) ) {
  $term = $term[0];
  ?&gt;
  &lt;?php echo $term-&gt;name ?&gt;
  &lt;?php
  }
  ?&gt;
  &lt;/div&gt;
  &lt;div class="title"&gt;
  &lt;?php the_title() ?&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;/div&gt;
  
  
  &lt;?php endwhile; wp_reset_postdata(); ?&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Thank you for your help</p>