Update for third check
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 31 Oct 2017 16:02:48 +0000 (12:02 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 31 Oct 2017 16:02:48 +0000 (12:02 -0400)
try using ==

sections/landing-page.php

index c48ac7e..ce6d966 100644 (file)
@@ -62,7 +62,7 @@
                 <a class="glm-block-image" href="<?php echo get_permalink($id); ?>"><img src="<?php echo $image_data[0]; ?>" /></a>
                 <a class="glm-block-title" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><h1><?php the_title(); ?></h1></a>
             </div>
-        <?php if ( $blockCount % 3 ) { ?>
+        <?php if ( $blockCount % 3 == 0 ) { ?>
         </div><div class="glm-blocks-container row">
         <?php } ?>
         <?php endwhile; ?>