1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 17:23:55 +01:00
wp-theme/archive.php

23 lines
395 B
PHP
Raw Normal View History

<?php
2016-01-16 18:46:45 +01:00
get_header();
get_template_part( 'template', 'blogheader' );
2016-01-16 18:46:45 +01:00
echo '<div class="blog-column row row--content">';
2016-01-16 18:46:45 +01:00
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( 'content', 'blog' );
}
}
else {
get_template_part( 'content', 'noposts' );
}
2016-01-16 18:46:45 +01:00
echo '</div>';
2016-01-16 18:46:45 +01:00
get_footer();
?>