2018-08-10 18:48:11 -05:00
|
|
|
<?php
|
|
|
|
if ( have_posts() ) {
|
|
|
|
while ( have_posts() ) {
|
|
|
|
the_post();
|
|
|
|
|
|
|
|
echo "<section class=\"loop-row\">";
|
|
|
|
echo "<div class=\"loop-image\">";
|
|
|
|
the_post_thumbnail();
|
|
|
|
echo "</div>";
|
|
|
|
|
|
|
|
echo "<div class=\"loop-content\">";
|
|
|
|
echo "<a href=\"".get_permalink()."\">";
|
|
|
|
the_title( '<h1>', '</h1>' );
|
|
|
|
echo "</a>";
|
|
|
|
the_excerpt();
|
2018-10-07 14:31:57 -05:00
|
|
|
echo "<a href=\"".get_permalink()."\">Read more -></a>";
|
2018-08-10 18:48:11 -05:00
|
|
|
echo "</div>";
|
|
|
|
echo "</section>";
|
|
|
|
}
|
|
|
|
|
|
|
|
get_template_part('pagination');
|
|
|
|
}
|
|
|
|
?>
|