mirror of
https://ghproxy.net/https://github.com/AlxMedia/airl.git
synced 2025-08-26 08:38:12 +08:00
1.1.1
This commit is contained in:
parent
261274051e
commit
72876fb49f
6 changed files with 11 additions and 8 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php if ( get_theme_mod('blog-layout','blog-standard') == 'blog-grid' ) : ?>
|
||||
<?php if ( get_theme_mod('blog-layout','blog-grid') == 'blog-grid' ) : ?>
|
||||
|
||||
<div class="article-grid">
|
||||
<?php while ( have_posts() ): the_post(); ?>
|
||||
|
@ -14,7 +14,7 @@
|
|||
<?php endwhile; ?>
|
||||
</div>
|
||||
|
||||
<?php elseif ( get_theme_mod('blog-layout','blog-standard') == 'blog-list' ) : ?>
|
||||
<?php elseif ( get_theme_mod('blog-layout','blog-grid') == 'blog-list' ) : ?>
|
||||
|
||||
<div class="article-list">
|
||||
<?php while ( have_posts() ): the_post(); ?>
|
||||
|
|
|
@ -132,7 +132,7 @@ Kirki::add_field( 'airl_theme', array(
|
|||
'settings' => 'blog-layout',
|
||||
'label' => esc_html__( 'Blog Layout', 'airl' ),
|
||||
'section' => 'blog',
|
||||
'default' => 'blog-standard',
|
||||
'default' => 'blog-grid',
|
||||
'choices' => array(
|
||||
'blog-standard' => esc_html__( 'Standard', 'airl' ),
|
||||
'blog-grid' => esc_html__( 'Grid', 'airl' ),
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php if ( get_theme_mod('blog-layout','blog-standard') == 'blog-grid' ) : ?>
|
||||
<?php if ( get_theme_mod('blog-layout','blog-grid') == 'blog-grid' ) : ?>
|
||||
|
||||
<div class="article-grid">
|
||||
<?php while ( have_posts() ): the_post(); ?>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<?php endwhile; ?>
|
||||
</div>
|
||||
|
||||
<?php elseif ( get_theme_mod('blog-layout','blog-standard') == 'blog-list' ) : ?>
|
||||
<?php elseif ( get_theme_mod('blog-layout','blog-grid') == 'blog-list' ) : ?>
|
||||
|
||||
<div class="article-list">
|
||||
<?php while ( have_posts() ): the_post(); ?>
|
||||
|
|
|
@ -76,6 +76,9 @@ Header images
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 1.1.1 - 2022-09-27 =
|
||||
* Set grid as default layout
|
||||
|
||||
= 1.1.0 - 2022-09-22 =
|
||||
* Changed theme from premium to free
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php if ( get_theme_mod('blog-layout','blog-standard') == 'blog-grid' ) : ?>
|
||||
<?php if ( get_theme_mod('blog-layout','blog-grid') == 'blog-grid' ) : ?>
|
||||
|
||||
<div class="article-grid">
|
||||
<?php while ( have_posts() ): the_post(); ?>
|
||||
|
@ -14,7 +14,7 @@
|
|||
<?php endwhile; ?>
|
||||
</div>
|
||||
|
||||
<?php elseif ( get_theme_mod('blog-layout','blog-standard') == 'blog-list' ) : ?>
|
||||
<?php elseif ( get_theme_mod('blog-layout','blog-grid') == 'blog-list' ) : ?>
|
||||
|
||||
<div class="article-list">
|
||||
<?php while ( have_posts() ): the_post(); ?>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
Theme Name: Airl
|
||||
Theme URI: http://alx.media/themes/airl/
|
||||
Version: 1.1.0
|
||||
Version: 1.1.1
|
||||
Requires at least: 5.0
|
||||
Requires PHP: 5.6
|
||||
Tested up to: 6.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue