title: How to get popular posts to appear in post carousel
body: <p>I have added the Owl Carousel to my Wordpress theme following this tutorial - <a href="http://www.web2feel.com/making-a-featured-post-carousel-slider-with-wp-customizer-controls/" rel="nofollow">http://www.web2feel.com/making-a-featured-post-carousel-slider-with-wp-customizer-controls/</a> - I have added the carousel correctly, but now I would like it to automatically show popular posts.  Right now it shows posts that are in a certain category, for example "news".  Can anyone help me with this?</p>
  
  <p>Here is my carousel.php</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="slider"&gt;
   
      &lt;?php
      $carousel_cat = get_theme_mod('carousel_setting','1');
      $carousel_count = get_theme_mod('count_setting','4');
      $new_query = new WP_Query( array('showposts' =&gt; $carousel_count, 'meta_key' =&gt; 'wpb_post_views_count', 'orderby' =&gt; 'meta_value_num', 'order' =&gt; 'DESC' )); ?&gt;
   
      &lt;div class="item"&gt;
          &lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_post_thumbnail( 'carousel-pic' ); ?&gt;&lt;/a&gt;
          &lt;h3&gt; &lt;?php the_title();?&gt; &lt;/h3&gt;
      &lt;/div&gt;
   
      &lt;?php 
          endwhile;
          wp_reset_postdata(); 
      ?&gt;
   
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>