diff options
author | Jos Poortvliet <jospoortvliet@gmail.com> | 2019-09-18 13:10:02 +0300 |
---|---|---|
committer | Jos Poortvliet <jospoortvliet@gmail.com> | 2019-09-18 13:10:02 +0300 |
commit | f2192208a7858bb9055accb60fba04942ae38363 (patch) | |
tree | aa81a4a8951324df902ee9ae5df9c0734a26e3a1 /page-blog.php | |
parent | ac0e169e1045d9c3bc67b056fceb22ac4605b0e2 (diff) |
fix blog
Signed-off-by: Jos Poortvliet <jospoortvliet@gmail.com>
Diffstat (limited to 'page-blog.php')
-rw-r--r-- | page-blog.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/page-blog.php b/page-blog.php index aa77926a..9a7444d9 100644 --- a/page-blog.php +++ b/page-blog.php @@ -1,4 +1,4 @@ -<!-- This is the postgrid page --> +<!-- This is the posts page. or maybe not. Check also index.php! --> <head> <link href="<?php echo get_template_directory_uri(); ?>/assets/css/pages/blogroll.css?v=3" rel="stylesheet"> <!--<script> @@ -34,11 +34,11 @@ <?php $i = 1; ?> <?php while (have_posts()) : the_post(); ?> <?php if ($i % 3 == 0) { ?> <!-- for every three posts we have to put in a row... --> - <div class="row"> <div class="col-md-4"> <?php get_template_part('templates/content', get_post_format()); ?> </div> </div> + <div class="row"> <?php } else { ?> <!-- no row needed... --> <div class="col-md-4"> <?php get_template_part('templates/content', get_post_format()); ?> |