title: pagination numeric Custom post types wordpress
body: <p>Anyone know how I can put numerical paging using custom post types in wordpress?</p>
  
  <pre><code>$posts_per_page = 10;
  $post_type = 'products'
  
  $args = array( 'post_type'=&gt; $post_type, 'posts_per_page' =&gt; $posts_per_page, 'paged' =&gt; get_query_var('paged') );
  
  query_posts( $args );
  </code></pre>