home loop start

This commit is contained in:
2018-07-24 08:20:35 -05:00
parent 7e9e6854b4
commit b78029b4ca
15 changed files with 127 additions and 47 deletions

18
home-loop.php Normal file
View File

@@ -0,0 +1,18 @@
<div class="grid xs-col-100 sm-col-50 md-col-33 grid-gutter-lg">
<?php
if ( have_posts() ) {
while ( have_posts() ) {?>
<section class="home-loop">
<a href="<?php echo get_page_link(); ?>"><?php
the_post();
the_title( '<h1>', '</h1>' );
the_post_thumbnail();
// the_excerpt();
?></a>
</section>
<?php }
get_template_part('pagination');
}
?>
</div>