mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogrow.git
synced 2025-08-26 14:44:11 +08:00
43 lines
No EOL
1,016 B
PHP
43 lines
No EOL
1,016 B
PHP
<?php get_header(); ?>
|
|
|
|
<div class="content">
|
|
<div class="pad group">
|
|
|
|
<?php get_template_part('inc/page-title'); ?>
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
<?php if ( get_theme_mod('blog-layout','blog-standard') == 'blog-grid' ) : ?>
|
|
|
|
<ul class="entry-grid group">
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
<?php get_template_part('content-grid'); ?>
|
|
<?php endwhile; ?>
|
|
</ul>
|
|
|
|
<?php elseif ( get_theme_mod('blog-layout','blog-standard') == 'blog-list' ) : ?>
|
|
|
|
<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-->
|
|
</div><!--/.content-->
|
|
|
|
<?php get_sidebar(); ?>
|
|
|
|
<?php get_footer(); ?>
|