mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogstream.git
synced 2025-08-26 16:40:55 +08:00
1.0.7
This commit is contained in:
parent
d77022c0b6
commit
e9cb86712d
21 changed files with 1277 additions and 241 deletions
30
archive.php
30
archive.php
|
@ -6,11 +6,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/pagination'); ?>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue