2020-03-11 14:32:45 +01:00
|
|
|
<?php get_header(); ?>
|
|
|
|
|
2022-12-22 12:54:15 +01:00
|
|
|
<div id="splits-left">
|
2020-03-11 14:32:45 +01:00
|
|
|
<?php get_template_part('inc/featured'); ?>
|
2022-12-22 12:54:15 +01:00
|
|
|
</div><!--/#splits-left-->
|
2020-03-11 14:32:45 +01:00
|
|
|
|
2022-12-22 12:54:15 +01:00
|
|
|
<div id="splits-right">
|
2020-03-11 14:32:45 +01:00
|
|
|
|
2022-12-22 12:54:15 +01:00
|
|
|
<div id="splits-right-top" class="pad">
|
2020-03-11 14:32:45 +01:00
|
|
|
<?php get_template_part('inc/page-title'); ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content pad">
|
|
|
|
|
|
|
|
<?php if ( ! is_paged() ) : ?>
|
|
|
|
<?php the_archive_description( '<div class="notebox">', '</div>' ); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
|
|
|
|
<?php if ( get_theme_mod('blog-layout','blog-list') == 'blog-grid' ) : ?>
|
|
|
|
|
|
|
|
<div class="post-grid group">
|
|
|
|
<?php $i = 1; echo '<div class="post-row">'; while ( have_posts() ): the_post(); ?>
|
|
|
|
<?php get_template_part('content-grid'); ?>
|
|
|
|
<?php if($i % 2 == 0) { echo '</div><div class="post-row">'; } $i++; endwhile; echo '</div>'; ?>
|
|
|
|
</div><!--/.post-grid-->
|
|
|
|
|
|
|
|
<?php elseif ( get_theme_mod('blog-layout','blog-list') == 'blog-list' ) : ?>
|
|
|
|
|
|
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
|
|
<?php get_template_part('content-list'); ?>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
<?php else: ?>
|
|
|
|
|
|
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
|
|
<?php get_template_part('content'); ?>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php get_template_part('inc/pagination'); ?>
|
|
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
</div><!--/.content-->
|
|
|
|
|
2022-12-22 12:54:15 +01:00
|
|
|
</div><!--/#splits-right-->
|
2020-03-11 14:32:45 +01:00
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|