Using Jetpack Infinite loading posts disappear on the 3rd row.
-
I’m trying to add jetpacks infinite scrolling to my blog: http://verbsandpixels.com/
whilst it’s been quick to install adding this to my functions.php:
//Infinite scroll add_theme_support( 'infinite-scroll', array( 'container' => 'blogArea2', 'footer' => false, 'posts_per_page' => 3, ) );
and creating a content.php file as the post template:
<a href="<?php the_permalink() ?>"> <div class="blog"> <div class="thumbWrap"> <?php the_post_thumbnail(); ?> </div> <h1><?php the_title(); ?></h1> <div class="blogText"> <p><?php the_excerpt(); ?></p> </div> </div> </a>
the result is it works, loading two lines of posts then these posts disappear. I notice the page number is changing in the url which I think must be why it’s reloading and clearing itself but have no idea why. Could anyone help me please?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using Jetpack Infinite loading posts disappear on the 3rd row.’ is closed to new replies.