home loop start
This commit is contained in:
18
home-loop.php
Normal file
18
home-loop.php
Normal 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>
|
Reference in New Issue
Block a user