This commit is contained in:
Alexander Agnarson 2024-11-16 15:33:13 +01:00
parent d77022c0b6
commit e9cb86712d
21 changed files with 1277 additions and 241 deletions

View file

@ -10,11 +10,31 @@
<?php if ( have_posts() ) : ?>
<div class="entry-wrap">
<?php while ( have_posts() ): the_post(); ?>
<?php get_template_part('content'); ?>
<?php endwhile; ?>
</div>
<?php if ( get_theme_mod('blog-layout','blog-standard') == 'blog-grid' ) : ?>
<div class="entry-wrap entry-grid">
<?php while ( have_posts() ): the_post(); ?>
<?php get_template_part('content-grid'); ?>
<?php endwhile; ?>
</div>
<?php elseif ( get_theme_mod('blog-layout','blog-standard') == 'blog-list' ) : ?>
<div class="entry-wrap entry-list">
<?php while ( have_posts() ): the_post(); ?>
<?php get_template_part('content-list'); ?>
<?php endwhile; ?>
</div>
<?php else: ?>
<div class="entry-wrap entry-standard">
<?php while ( have_posts() ): the_post(); ?>
<?php get_template_part('content'); ?>
<?php endwhile; ?>
</div>
<?php endif; ?>
<?php get_template_part('inc/front-widgets-bottom'); ?>
<?php get_template_part('inc/pagination'); ?>