mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogside.git
synced 2025-08-27 01:21:23 +08:00
OptionTree to Kirki change
This commit is contained in:
parent
eadfdfc639
commit
cc1a9f09fa
307 changed files with 68089 additions and 28950 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php if ( ot_get_option('blog-layout') == 'blog-grid' ) : ?>
|
||||
<?php if ( get_theme_mod('blog-layout') == 'blog-grid' ) : ?>
|
||||
|
||||
<div class="post-grid group">
|
||||
<?php $i = 1; echo '<div class="post-row">'; while ( have_posts() ): the_post(); ?>
|
||||
|
@ -22,7 +22,7 @@
|
|||
<?php if($i % 2 == 0) { echo '</div><div class="post-row">'; } $i++; endwhile; echo '</div>'; ?>
|
||||
</div><!--/.post-list-->
|
||||
|
||||
<?php elseif ( ot_get_option('blog-layout') == 'blog-list' ) : ?>
|
||||
<?php elseif ( get_theme_mod('blog-layout') == 'blog-list' ) : ?>
|
||||
|
||||
<?php while ( have_posts() ): the_post(); ?>
|
||||
<?php get_template_part('content-list'); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue