1 && $grid == 'normal') :
$c = 0;
while (have_posts()) :
$c++;
the_post();
?>
1 && $grid == 'special') :
for ($x = 1; $x <= $columns; $x++) : $i = 0;
?>
= (($x - 1) * $rows)) :
get_template_part('format', 'grid-item');
endif;
$i++;
endwhile;
rewind_posts();
?>
max_num_pages > 1) :
?>