Skip to content

Commit

Permalink
古い記事のタイトルが非表示になる不具合を修正
Browse files Browse the repository at this point in the history
フォールセーフで設計しました。
  • Loading branch information
T. Kameda committed Sep 10, 2019
1 parent cb03ebd commit edffa03
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion style.css
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://kansowp.toiee.jp/
Author: toiee Lab
Author URI: http://toiee.jp/
Description: KANSO General は、できるだけ少ない設定、学習コストで、美しく、洗練され、オリジナリティがあるWebサイトを作るためのテーマです。シンプル・簡素 is best の精神で作られています。 詳細は、<a href="http://kansowp.toiee.jp/">http://kansowp.toiee.jp/</a>
Version: 1.5.2
Version: 1.5.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kanso-general
Expand Down
2 changes: 1 addition & 1 deletion template-parts/content-page.php
Expand Up @@ -15,7 +15,7 @@
$the_id = get_the_ID();
get_template_part( 'template-parts/breadcrumb', 'page' );

if ( false === get_field('kns_hide_title' ) ) {
if ( true !== get_field('kns_hide_title' ) ) {
the_title( '<h1 class="main-title">', '</h1>' );
the_subtitle( '<h2 class="main-subtitle">', '</h2>');
}
Expand Down
2 changes: 1 addition & 1 deletion template-parts/content-post.php
Expand Up @@ -16,7 +16,7 @@
<?php the_category( ',' ); ?>
</div>
<?php
if ( false === get_field('kns_hide_title' ) ) {
if ( true !== get_field('kns_hide_title' ) ) {
the_title( '<h1 class="entry-title">', '</h1>' );
the_subtitle( '<h2 class="main-subtitle">', '</h2>' );
}
Expand Down
2 changes: 1 addition & 1 deletion theme.json
@@ -1,5 +1,5 @@
{
"version": "1.5.2",
"version": "1.5.4",
"details_url": "https://toiee.jp/kansowp/2019/07/02/v1-4-1-bug-in-header/",
"download_url": "https://github.com/toiee-lab/kanso-general/archive/master.zip"
}

0 comments on commit edffa03

Please sign in to comment.