Version Description
- Twenty-Nineteen
Download this release
Release Info
Developer | xserverjp |
Plugin | TypeSquare Webfonts for エックスサーバー |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
- readme.txt +5 -2
- ts-webfonts-for-xserver.php +5 -5
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: xserverjp
|
3 |
Tags: fonts,Webfonts
|
4 |
Requires at least: 4.3.1
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 1.1.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -133,6 +133,9 @@ License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
|
133 |
https://www.wpx.ne.jp/cloud/support/faq/
|
134 |
|
135 |
== Changelog ==
|
|
|
|
|
|
|
136 |
= 1.1.0 =
|
137 |
* 3書体を追加(中ゴシックBBB、新丸ゴ R、すずむし)
|
138 |
|
2 |
Contributors: xserverjp
|
3 |
Tags: fonts,Webfonts
|
4 |
Requires at least: 4.3.1
|
5 |
+
Tested up to: 5.1
|
6 |
+
Stable tag: 1.1.1
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
133 |
https://www.wpx.ne.jp/cloud/support/faq/
|
134 |
|
135 |
== Changelog ==
|
136 |
+
= 1.1.1 =
|
137 |
+
* Twenty-Nineteenテーマの個別記事ページにおいて、フォントが適用されない不具合を修正
|
138 |
+
|
139 |
= 1.1.0 =
|
140 |
* 3書体を追加(中ゴシックBBB、新丸ゴ R、すずむし)
|
141 |
|
ts-webfonts-for-xserver.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: TypeSquare Webfonts for エックスサーバー
|
4 |
-
Version: 1.1.
|
5 |
Description: エックスサーバー株式会社が提供する各レンタルサーバーサービスでWebフォントを利用できるプラグインです。
|
6 |
Author: XSERVER Inc.
|
7 |
Author URI: https://www.xserver.ne.jp/
|
@@ -211,16 +211,16 @@ class TypeSquare_ST {
|
|
211 |
}
|
212 |
|
213 |
if ( $title_target && $title_font ) {
|
214 |
-
$style .= "{$title_target}{ font-family: {$title_font};}";
|
215 |
}
|
216 |
if ( $lead_target && $lead_font ) {
|
217 |
-
$style .= "{$lead_target}{ font-family: {$lead_font};}";
|
218 |
}
|
219 |
if ( $text_target && $text_font ) {
|
220 |
-
$style .= "{$text_target}{ font-family: {$text_font};}";
|
221 |
}
|
222 |
if ( $bold_target && $bold_font ) {
|
223 |
-
$style .= "{$bold_target}{ font-family: {$bold_font};}";
|
224 |
}
|
225 |
return $style;
|
226 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: TypeSquare Webfonts for エックスサーバー
|
4 |
+
Version: 1.1.1
|
5 |
Description: エックスサーバー株式会社が提供する各レンタルサーバーサービスでWebフォントを利用できるプラグインです。
|
6 |
Author: XSERVER Inc.
|
7 |
Author URI: https://www.xserver.ne.jp/
|
211 |
}
|
212 |
|
213 |
if ( $title_target && $title_font ) {
|
214 |
+
$style .= "{$title_target}{ font-family: {$title_font} !important;}";
|
215 |
}
|
216 |
if ( $lead_target && $lead_font ) {
|
217 |
+
$style .= "{$lead_target}{ font-family: {$lead_font} !important;}";
|
218 |
}
|
219 |
if ( $text_target && $text_font ) {
|
220 |
+
$style .= "{$text_target}{ font-family: {$text_font} !important;}";
|
221 |
}
|
222 |
if ( $bold_target && $bold_font ) {
|
223 |
+
$style .= "{$bold_target}{ font-family: {$bold_font} !important;}";
|
224 |
}
|
225 |
return $style;
|
226 |
}
|