Changeset 2014661
- Timestamp:
- 01/18/2019 08:34:21 AM (7 years ago)
- Location:
- ts-webfonts-for-z-com
- Files:
-
- 23 added
- 3 edited
-
tags/1.0.1 (added)
-
tags/1.0.1/.svnignore (added)
-
tags/1.0.1/inc (added)
-
tags/1.0.1/inc/admin-base.php (added)
-
tags/1.0.1/inc/admin-fonttheme.php (added)
-
tags/1.0.1/inc/admin-root.php (added)
-
tags/1.0.1/inc/app.js (added)
-
tags/1.0.1/inc/assets (added)
-
tags/1.0.1/inc/assets/css (added)
-
tags/1.0.1/inc/assets/css/admin.css (added)
-
tags/1.0.1/inc/assets/css/common.css (added)
-
tags/1.0.1/inc/assets/react (added)
-
tags/1.0.1/inc/assets/react/app.jsx (added)
-
tags/1.0.1/inc/assets/react/functions (added)
-
tags/1.0.1/inc/assets/react/functions/events.jsx (added)
-
tags/1.0.1/inc/class (added)
-
tags/1.0.1/inc/class/class.auth.php (added)
-
tags/1.0.1/inc/class/class.font.data.php (added)
-
tags/1.0.1/inc/class/class.fonttheme.php (added)
-
tags/1.0.1/inc/font.json (added)
-
tags/1.0.1/readme.txt (added)
-
tags/1.0.1/ts-webfonts-for-z-com.php (added)
-
tags/1.0.1/typesquare-admin.php (added)
-
trunk/inc/class/class.font.data.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/ts-webfonts-for-z-com.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ts-webfonts-for-z-com/trunk/inc/class/class.font.data.php
r1672951 r2014661 79 79 $default_param = array( 80 80 'font_theme' => false, 81 'title_target' => 'h1,h2,h3,.entry-title',82 'lead_target' => 'h4,h5,h6',83 'text_target' => '.hentry',84 'bold_target' => 'strong,b',81 'title_target' => 'h1,h2,h3,.entry-title,h1 *,h2 *,h3 *,.entry-title *,.entry-content h2,.entry-content h2,.entry-content h3', 82 'lead_target' => '.entry-content h4,.entry-content h5,.entry-content h6,.entry-content h4 *,.entry-content h5 *,.entry-content h6 *', 83 'text_target' => '.entry-content *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6)', 84 'bold_target' => 'strong,b', 85 85 'show_post_form' => false, 86 86 ); -
ts-webfonts-for-z-com/trunk/readme.txt
r1685405 r2014661 3 3 Tags: fonts,Webfonts 4 4 Requires at least: 4.3.1 5 Tested up to: 4.7.56 Stable tag: 1.0. 05 Tested up to: 5.0.3 6 Stable tag: 1.0.1 7 7 License: GPLv3 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 78 78 79 79 == Changelog == 80 = 1.0.1 = 81 * Gutenbergテーマ対応 82 80 83 = 1.0.0 = 81 84 * 初期リリース -
ts-webfonts-for-z-com/trunk/ts-webfonts-for-z-com.php
r1672974 r2014661 2 2 /* 3 3 Plugin Name: TypeSquare Webfonts for Z.com 4 Version: 1.0. 04 Version: 1.0.1 5 5 Description: Z.comのWordPress専用サーバー「Z.com WP」で株式会社モリサワが提供するWebフォントサービス「TypeSquare」を利用できるプラグインです。 6 6 Author: GMO Internet, Inc. … … 120 120 } 121 121 122 $style = $this->_get_font_styles( $use_font, $fonttheme );122 $style = $this->_get_font_styles( $use_font, $fonttheme, get_the_ID()); 123 123 if ( $style ) { 124 124 $html = "<style type='text/css'>{$style}</style>"; … … 212 212 213 213 if ( $title_target && $title_font ) { 214 $style .= "{$title_target}{ font-family: {$title_font} ;}";214 $style .= "{$title_target}{ font-family: {$title_font} !important;}"; 215 215 } 216 216 if ( $lead_target && $lead_font ) { 217 $style .= "{$lead_target}{ font-family: {$lead_font} ;}";217 $style .= "{$lead_target}{ font-family: {$lead_font} !important;}"; 218 218 } 219 219 if ( $text_target && $text_font ) { 220 $style .= "{$text_target}{ font-family: {$text_font} ;}";220 $style .= "{$text_target}{ font-family: {$text_font} !important;}"; 221 221 } 222 222 if ( $bold_target && $bold_font ) { 223 $style .= "{$bold_target}{ font-family: {$bold_font} ;}";223 $style .= "{$bold_target}{ font-family: {$bold_font} !important;}"; 224 224 } 225 225 return $style;
Note: See TracChangeset
for help on using the changeset viewer.