mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-23 01:30:09 +01:00
19 lines
310 B
PHP
19 lines
310 B
PHP
|
<?php
|
||
|
get_header();
|
||
|
get_template_part( 'template', 'blogheader' );
|
||
|
echo '<div class="centered-content-padding">';
|
||
|
if ( have_posts() ) {
|
||
|
while ( have_posts() ) {
|
||
|
the_post();
|
||
|
|
||
|
get_template_part( 'content', 'blog' );
|
||
|
|
||
|
}
|
||
|
}
|
||
|
else {
|
||
|
get_template_part( 'content', 'noposts' );
|
||
|
}
|
||
|
|
||
|
echo '</div>';
|
||
|
get_footer();
|
||
|
?>
|