Version Description
Download this release
Release Info
Developer | DannyCooper |
Plugin | Google Fonts for WordPress |
Version | 2.1.8 |
Comparing to | |
See all releases |
Code changes from version 2.1.7 to 2.1.8
assets/css/customize-controls.css
CHANGED
@@ -32,14 +32,17 @@
|
|
32 |
width: 85%;
|
33 |
}
|
34 |
|
35 |
-
.customize-control-typography li.typography-font-color,
|
36 |
.customize-control-typography li.typography-font-style,
|
37 |
-
.customize-control-typography li.typography-font-weight
|
38 |
-
.customize-control-typography li.typography-text-transform {
|
39 |
width: 50%;
|
40 |
float: left;
|
41 |
}
|
42 |
|
|
|
|
|
|
|
|
|
|
|
43 |
.customize-control-typography li.typography-font-size,
|
44 |
.customize-control-typography li.typography-line-height,
|
45 |
.customize-control-typography li.typography-letter-spacing {
|
@@ -49,11 +52,14 @@
|
|
49 |
}
|
50 |
|
51 |
.customize-control-typography li.typography-font-style select,
|
52 |
-
.customize-control-typography li.typography-font-weight select
|
53 |
-
.customize-control-typography li.typography-text-transform select {
|
54 |
width: 90%;
|
55 |
}
|
56 |
|
|
|
|
|
|
|
|
|
57 |
.customize-control-typography li.typography-font-weight {
|
58 |
clear: both;
|
59 |
}
|
32 |
width: 85%;
|
33 |
}
|
34 |
|
|
|
35 |
.customize-control-typography li.typography-font-style,
|
36 |
+
.customize-control-typography li.typography-font-weight {
|
|
|
37 |
width: 50%;
|
38 |
float: left;
|
39 |
}
|
40 |
|
41 |
+
.customize-control-typography li.typography-font-color .wp-picker-clear {
|
42 |
+
min-height: 30px;
|
43 |
+
}
|
44 |
+
|
45 |
+
.customize-control-typography li.typography-font-color,
|
46 |
.customize-control-typography li.typography-font-size,
|
47 |
.customize-control-typography li.typography-line-height,
|
48 |
.customize-control-typography li.typography-letter-spacing {
|
52 |
}
|
53 |
|
54 |
.customize-control-typography li.typography-font-style select,
|
55 |
+
.customize-control-typography li.typography-font-weight select {
|
|
|
56 |
width: 90%;
|
57 |
}
|
58 |
|
59 |
+
.customize-control-typography li.typography-text-transform select {
|
60 |
+
width: 93%;
|
61 |
+
}
|
62 |
+
|
63 |
.customize-control-typography li.typography-font-weight {
|
64 |
clear: both;
|
65 |
}
|
assets/js/customize-controls.js
CHANGED
@@ -100,6 +100,7 @@
|
|
100 |
|
101 |
picker.wpColorPicker(
|
102 |
{
|
|
|
103 |
change: function() {
|
104 |
setTimeout(
|
105 |
function() {
|
100 |
|
101 |
picker.wpColorPicker(
|
102 |
{
|
103 |
+
width : 225,
|
104 |
change: function() {
|
105 |
setTimeout(
|
106 |
function() {
|
changelog.txt
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
= 2.1.7 =
|
2 |
|
3 |
* Fix italic fonts not listed correctly in fonts.json.
|
1 |
+
= 2.1.8 =
|
2 |
+
|
3 |
+
* Fix text-transform control not showing correctly.
|
4 |
+
* Improve color control styling.
|
5 |
+
|
6 |
= 2.1.7 =
|
7 |
|
8 |
* Fix italic fonts not listed correctly in fonts.json.
|
includes/customizer/controls/class-ogf-customize-typography-control.php
CHANGED
@@ -186,19 +186,6 @@ class OGF_Customize_Typography_Control extends WP_Customize_Control {
|
|
186 |
</li>
|
187 |
<# } #>
|
188 |
|
189 |
-
<# if ( data.text_transform && data.text_transform.choices ) { #>
|
190 |
-
<li class="typography-text-transform">
|
191 |
-
<# if ( data.text_transform.label ) { #>
|
192 |
-
<span class="customize-control-title">{{ data.text_transform.label }}</span>
|
193 |
-
<# } #>
|
194 |
-
<select {{{ data.text_transform.link }}}>
|
195 |
-
<# _.each( data.text_transform.choices, function( label, choice ) { #>
|
196 |
-
<option value="{{ choice }}" <# if ( choice === data.text_transform.value ) { #> selected="selected" <# } #>>{{ label }}</option>
|
197 |
-
<# } ) #>
|
198 |
-
</select>
|
199 |
-
</li>
|
200 |
-
<# } #>
|
201 |
-
|
202 |
<# if ( data.size ) { #>
|
203 |
<li class="typography-font-size">
|
204 |
<div class="slider-custom-control">
|
@@ -239,6 +226,19 @@ class OGF_Customize_Typography_Control extends WP_Customize_Control {
|
|
239 |
</li>
|
240 |
<# } #>
|
241 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
</div>
|
243 |
|
244 |
</ul>
|
186 |
</li>
|
187 |
<# } #>
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
<# if ( data.size ) { #>
|
190 |
<li class="typography-font-size">
|
191 |
<div class="slider-custom-control">
|
226 |
</li>
|
227 |
<# } #>
|
228 |
|
229 |
+
<# if ( data.text_transform && data.text_transform.choices ) { #>
|
230 |
+
<li class="typography-text-transform">
|
231 |
+
<# if ( data.text_transform.label ) { #>
|
232 |
+
<span class="customize-control-title">{{ data.text_transform.label }}</span>
|
233 |
+
<# } #>
|
234 |
+
<select {{{ data.text_transform.link }}}>
|
235 |
+
<# _.each( data.text_transform.choices, function( label, choice ) { #>
|
236 |
+
<option value="{{ choice }}" <# if ( choice === data.text_transform.value ) { #> selected="selected" <# } #>>{{ label }}</option>
|
237 |
+
<# } ) #>
|
238 |
+
</select>
|
239 |
+
</li>
|
240 |
+
<# } #>
|
241 |
+
|
242 |
</div>
|
243 |
|
244 |
</ul>
|
olympus-google-fonts.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin Name: Fonts Plugin | Google Fonts Typography
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
* Description: The easiest to use Google Fonts typography plugin. No coding required. 900+ font choices.
|
8 |
-
* Version: 2.1.
|
9 |
* Author: Fonts Plugin
|
10 |
* Author URI: https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description
|
11 |
* Text Domain: olympus-google-fonts
|
@@ -18,7 +18,7 @@
|
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
21 |
-
define( 'OGF_VERSION', '2.1.
|
22 |
define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
|
23 |
define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
|
24 |
|
5 |
* Plugin Name: Fonts Plugin | Google Fonts Typography
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
* Description: The easiest to use Google Fonts typography plugin. No coding required. 900+ font choices.
|
8 |
+
* Version: 2.1.8
|
9 |
* Author: Fonts Plugin
|
10 |
* Author URI: https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description
|
11 |
* Text Domain: olympus-google-fonts
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
21 |
+
define( 'OGF_VERSION', '2.1.8' );
|
22 |
define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
|
23 |
define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
|
24 |
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: DannyCooper, googlefonts
|
|
3 |
Tags: google, fonts, google fonts, typography, elementor
|
4 |
Donate link: https://fontsplugin.com/#pricing
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 5.
|
7 |
License: GPLv2 or later
|
8 |
-
Stable tag: 2.1.
|
9 |
|
10 |
The easiest to use Google Fonts Typography Plugin. No coding required. 900+ font choices.
|
11 |
|
3 |
Tags: google, fonts, google fonts, typography, elementor
|
4 |
Donate link: https://fontsplugin.com/#pricing
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.5
|
7 |
License: GPLv2 or later
|
8 |
+
Stable tag: 2.1.8
|
9 |
|
10 |
The easiest to use Google Fonts Typography Plugin. No coding required. 900+ font choices.
|
11 |
|