title: Finding current page number in Wordpress
body: <p>I have added the following custom loop in my Wordpress template:</p>
  
  <pre><code>$args = array(
      'category__not_in' =&gt; array($featured_cat-&gt;term_id),
      'posts_per_page' =&gt; 10,
      'post__not_in' =&gt; array($recent_post)
  );
  query_posts($args);
  </code></pre>
  
  <p>For pagination to work, I guess I need to pass another arg <code>paged</code> with the current page number. What is the way to get the current page number in Wordpress?</p>