2015-12-11 17:09:48 +01:00
|
|
|
<?php get_header(); ?>
|
|
|
|
|
2017-03-05 21:42:46 +01:00
|
|
|
<div class="content">
|
2015-12-11 17:09:48 +01:00
|
|
|
<div class="pad group">
|
|
|
|
|
|
|
|
<?php get_template_part('inc/page-title'); ?>
|
|
|
|
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
|
2017-12-17 12:32:54 +01:00
|
|
|
<?php if ( get_theme_mod('blog-layout','blog-standard') == 'blog-grid' ) : ?>
|
2015-12-11 17:09:48 +01:00
|
|
|
|
|
|
|
<ul class="entry-grid group">
|
|
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
|
|
<?php get_template_part('content-grid'); ?>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
</ul>
|
|
|
|
|
2017-12-17 12:32:54 +01:00
|
|
|
<?php elseif ( get_theme_mod('blog-layout','blog-standard') == 'blog-list' ) : ?>
|
2015-12-11 17:09:48 +01:00
|
|
|
|
|
|
|
<div class="entry-list group">
|
|
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
|
|
<?php get_template_part('content-list'); ?>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?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><!--/.pad-->
|
2017-03-05 21:42:46 +01:00
|
|
|
</div><!--/.content-->
|
2015-12-11 17:09:48 +01:00
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|