title: WordPress not showing more than 10 posts
body: <p>I am showing posts by shortcode into posts/pages of WordPress, and want to show an infinite list of posts, but it is showing only 10 posts.</p>
  
  <p>Here is my code; please guide me what is wrong with my query.</p>
  
  <pre><code>$args = array( 'post_type' =&gt; 'post', 'cat' =&gt; '2', 'meta_key' =&gt; 'issue_of_article', 'meta_value' =&gt; $issue, 'posts_per_page' =&gt; -1, 'orderby' =&gt; 'artcle_category', 'order' =&gt; 'ASC');
  $loop = new WP_Query( $args );
  if ( $loop-&gt;have_posts() ) {
  while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post();
       $loop-&gt;the_post();
       &lt;h3&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
  endwhile;
  }
  </code></pre>