Changeset 1453901
- Timestamp:
- 07/13/2016 07:36:11 AM (10 years ago)
- Location:
- ts-webfonts-for-standard-plan/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
typesquare.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ts-webfonts-for-standard-plan/trunk/readme.txt
r1450998 r1453901 4 4 Requires at least: 4.3.1 5 5 Tested up to: 4.3.1 6 Stable tag: 2.0. 16 Stable tag: 2.0.2 7 7 License: GPLv3 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 50 50 == Changelog == 51 51 52 = 2.0.2 = 53 * 軽微な不具合の修正 54 52 55 = 2.0.1 = 53 56 * style挿入位置の修正 -
ts-webfonts-for-standard-plan/trunk/typesquare.php
r1450998 r1453901 2 2 /* 3 3 Plugin Name: TS Webfonts for Standard Plan 4 Version: 2.0. 14 Version: 2.0.2 5 5 Description: このプラグインを利用することで、あなたのサイトにTypeSquareのWebフォントを簡単に設定できます。 6 6 Author: Morisawa Inc. … … 164 164 return; 165 165 } 166 $font_param = $fonts->get_fonttheme_params(); 166 167 $use_font = $fonts->load_font_data( $fonttheme['font_theme'] ); 167 168 … … 176 177 while ( $the_query->have_posts() ) : $the_query->the_post(); 177 178 $id = get_the_ID(); 178 $post_theme = $fonts->get_selected_post_fonttheme( $id ); 179 $post_theme = $fonts->load_font_data( $post_theme ); 180 if ( $post_theme ) { 181 $use_font = $post_theme; 179 if ( isset( $font_param['typesquare_themes']['show_post_form'] ) && 'false' != $font_param['typesquare_themes']['show_post_form'] ) { 180 $post_theme = $fonts->get_selected_post_fonttheme( $id ); 181 $post_theme = $fonts->load_font_data( $post_theme ); 182 if ( $post_theme ) { 183 $use_font = $post_theme; 184 } 182 185 } 183 186 $style .= $this->_get_font_styles( $use_font, $fonttheme, $id );
Note: See TracChangeset
for help on using the changeset viewer.