title: Wordpress Jetpack infinite scroll
body: <p>I can get the loading indicator to show up but no more posts load. I've tried doing things with 'render' and the theme name, template-parts content instead of content.php, adding another div with id to the while loop. Any help would be great thanks.</p>
  
  <p><strong>index.php</strong></p>
  
  <pre><code>&lt;?php get_header(); ?&gt;
  &lt;div class="tagline"&gt;
      &lt;!-- General &gt; Settings &gt; Tagline --&gt;
      &lt;?php echo get_bloginfo( 'description' ); ?&gt;
  &lt;/div&gt;
  &lt;?php get_template_part( 'content', get_post_format() ); ?&gt;
  &lt;?php get_footer(); ?&gt;
  </code></pre>
  
  <p><strong>content.php</strong></p>
  
  <pre><code>&lt;div id="content"&gt;
  &lt;article id="post-&lt;?php the_ID(); ?&gt;" &lt;?php post_class(); ?&gt;&gt;
  
      &lt;section class="gallery"&gt;
  
          &lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
  
              &lt;article class="post-item"&gt;
  
                  &lt;?php
  if ( has_post_thumbnail()) {
  echo '&lt;a href="' . get_permalink($post-&gt;ID) . '" &gt;';
  the_post_thumbnail( 'thumbnail' );
  echo '&lt;/a&gt;';
  }
  ?&gt;
  &lt;h2 class="post-title"&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;" rel="bookmark" title="
  &lt;?php the_title_attribute(); ?&gt;"&gt;
  &lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
  
   &lt;/article&gt;
   &lt;?php endwhile; else: ?&gt;
   &lt;p&gt;
   &lt;?php _e('Sorry, no posts matched your criteria.'); ?&gt;
   &lt;/p&gt;
   &lt;?php endif; ?&gt;
  
   &lt;/section&gt;
  
  &lt;/article&gt;
  &lt;/div&gt;&lt;!-- content --&gt;
  </code></pre>
  
  <p><strong>functions.php</strong></p>
  
  <pre><code>add_theme_support( 'infinite-scroll', array(
  'container' =&gt; 'content',
  'footer' =&gt; 'false'
  ) );
  </code></pre>