Posts are not looping through correctly
I just tested the following example code: <?php $the_query = new WP_Query( array( ‘posts_per_page’ => 12, ‘paged’ => get_query_var(‘paged’, 1) )); if ( $the_query->have_posts() ) { // display #ajax wrapper only if we have posts echo ‘<div id=”ajax”>’; while($the_query->have_posts()) { $the_query->the_post(); ?> <article <?php post_class(); ?>> <div class=”row”> <div class=”col-md-4″><?php the_post_thumbnail(‘medium-thumbnail’); ?> <h2><a class=”post-title” href=”https://wordpress.stackexchange.com/questions/252035/<?php … Read more