Skip to content

Commit

Permalink
投稿者ページで無用なタグが出力されるのを修正、折り返しを修正
Browse files Browse the repository at this point in the history
- 投稿者の投稿一覧で vscard タグが出力されるので修正
- preタグで、長い日本語は折り返さないので「無理やり折り返し」するように設定
  • Loading branch information
T. Kameda committed May 20, 2019
1 parent 4a07393 commit 10c6d57
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion archive.php
Expand Up @@ -28,7 +28,7 @@
</span>
</div>
<?php
echo '<h1 class="page-title">' . esc_html( trim( $a_title[1] ) ) . '</h1>';
echo '<h1 class="page-title">' . esc_html( wp_strip_all_tags( trim( $a_title[1] ) ) ) . '</h1>';
the_archive_description( '<div class="archive-description">', '</div>' );
?>
</header><!-- .page-header -->
Expand Down
7 changes: 6 additions & 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.2.1
Version: 1.2.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kanso-general
Expand Down Expand Up @@ -559,3 +559,8 @@ ul.uk-pagination>li>span.current {
color : #ffffff;
text-transform: none;
}

pre {
word-break: break-all;
white-space: pre-wrap;
}
2 changes: 1 addition & 1 deletion theme.json
@@ -1,5 +1,5 @@
{
"version": "1.2.1",
"version": "1.2.2",
"details_url": "https://kansowp.toiee.jp/category/update/",
"download_url": "https://github.com/toiee-lab/kanso-general/archive/master.zip"
}

0 comments on commit 10c6d57

Please sign in to comment.