I found the solution. I didn’t realize I needed to reset the post query. The correct code is:
`<?php
$counter = 1; //start counter
$grids = 3; //Grids per row
$args = array(
‘posts_per_page’=> 1,
‘ignore_sticky_posts’ => 0
);
$query = new WP_Query($args);
if($query->have_posts()) : while($query->have_posts()) : $query->the_post(); ?>
//Do stuff
<?php $counter++; ?>
<?php endwhile; endif; wp_reset_query(); ?>