title: Wordpress get most popular posts in current post category
body: <p>I'm looking to get the top 3 most popular posts on the bottom of all my posts. Which I've achieved. But I really need to display the top 3 most popular within the current post's main category.</p>
  
  <p>I've used </p>
  
  <pre><code>&lt;?php $popular = new WP_Query(array(
           'posts_per_page'=&gt;3, 
           'meta_key'=&gt;'popular_posts', 
           'orderby'=&gt;'meta_value_num', 
           'order'=&gt;'DESC'
           ));
  </code></pre>
  
  <p>to get most popular. But when I add in categories, it returns nothing:</p>
  
  <pre><code>&lt;?php $popular = new WP_Query(array( 
           'posts_per_page'=&gt;3, 
           'cat' =&gt; 60, 
           'meta_key'=&gt;'popular_posts', 
           'orderby'=&gt;'meta_value_num', 
           'order'=&gt;'DESC'));
  </code></pre>
  
  <p>I've searched and searched for this and I've come close but I suspect my php skills are woefully short! Any help greatly appreciated.</p>