WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've added infinite scroll support of the Jetpack plugin to my own theme with:

add_theme_support( 'infinite-scroll', array(
    'container'  => 'content',
    'footer' => false,
    'render' => 'vividflow_infscroll_render',
    'wrapper' => false,
    'posts_per_page' => 12
) );

The vividflow_infscroll_render just loads The Loop.

However, I'm experiencing some trouble with the infinite scroll: new posts are loaded multiple times, so that I get double posts on the archive page. My archive page looks like this:

enter image description here

I think new posts are loaded several times because I have several posts on the bottom line: 3. When I place all the post summaries beneath each other, there is no problem.

How can I resolve this issue?

share|improve this question
n/p. Figured it out, improved the question and now let's clean up the comments. – kaiser Feb 25 '13 at 21:29
Thanks for improving! – Camil Staps Feb 26 '13 at 7:03
up vote 0 down vote accepted

The problem indeed was that there were several posts on the bottom. Adding this to the end of the loop helped:

<br style="clear:both;"/>

I think this is a bug in the Jetpack plugin, but it is easily resolved by adding this line break.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.