title: Post repeating in Infinite Scroll in Wordpress
body: <p>I have used Infinite Scroll with Masonry, and used below query:</p>
  
  <pre><code>$args = array(
      'post_type'=&gt;'post',
      'post_status'=&gt;'publish',
      'author' =&gt; 1
  );
  $query = new WP_Query($args);
  if($query-&gt;have_posts()) :
      while ($query-&gt;have_posts()) : $query-&gt;the_post();
  
          //DIV COMES HERE
  
            endwhile;
           endif;
  </code></pre>
  
  <p>Issue, its that same post are repeating again and again in Infinite Scroll.</p>
  
  <p>Means I have Post 01, Post 02, Post 03, Post 04 on page load.. after scrolling down Post 01, Post 02, Post 03, Post 04, Post 05, Post 06, Post 07 and again Post 01, Post 02, Post 03, Post 04.. is repeating..</p>