Posts do not load after 25
-
Hey,
Brilliant plugin, used it many times and it is always great.
Just got one slight hiccup at the moment. When you scroll, it will load the posts, un till you get to 25. Then it stops loading. Even thought there are more post to load.
Here is my repeater template –
<div class="type-post <?php if( get_field('board_members') == 'yes' ): ?>board-level<?php endif ;?>"> <div class="post-header"> <h3><a class="blog-list-title"><?php the_title(); ?></a></h3> <p style="color: #7f7f7f"><?php the_time() ?> <?php the_time(get_option( 'date_format' )); ?> by <span class="green"><?php the_author(); ?></span> <span class="edit-this"><?php edit_post_link( 'Edit', '' ); ?></span></p> </div> <div class="post-content"> <?php echo the_content(); ?> <?php // check if the repeater field has rows of data if( have_rows('document_repeater') ): // loop through the rows of data while ( have_rows('document_repeater') ) : the_row(); ?> <div class="attachment"> <p><span><a href="<?php the_sub_field('document_file'); ?>" target="_blank" class="cta">Download PDF</a> <?php the_sub_field('document_name'); ?></span></p> </div> <?php endwhile; else : // no rows found endif; ?> <?php global $withcomments; $withcomments = true; comments_template(); ?> </div> </div>
Any help would be great!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Posts do not load after 25’ is closed to new replies.