Google Fonts for WordPress - Version 2.3.4

Version Description

Download this release

Release Info

Developer DannyCooper
Plugin Icon 128x128 Google Fonts for WordPress
Version 2.3.4
Comparing to
See all releases

Code changes from version 2.3.3 to 2.3.4

changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 2.3.3 =
2
 
3
  * Classic Editor bug fix
1
+ = 2.3.4 =
2
+
3
+ * Improve CSS specificity
4
+
5
  = 2.3.3 =
6
 
7
  * Classic Editor bug fix
includes/functions.php CHANGED
@@ -80,43 +80,43 @@ function ogf_get_elements() {
80
  'label' => esc_html__( 'Title and H1 Typography', 'olympus-google-fonts' ),
81
  'description' => esc_html__( 'Select and configure the font for your title and H1 headings.', 'olympus-google-fonts' ),
82
  'section' => 'ogf_advanced__content',
83
- 'selectors' => '.entry-title, .entry-title a, .post-title, .post-title a, .page-title, .entry-content h1, #content h1',
84
  ),
85
  'ogf_post_page_h2' => array(
86
  'label' => esc_html__( 'H2 Typography', 'olympus-google-fonts' ),
87
  'description' => esc_html__( 'Select and configure the font for your H2 headings.', 'olympus-google-fonts' ),
88
  'section' => 'ogf_advanced__content',
89
- 'selectors' => '.entry-content h2, .post-content h2, .page-content h2, #content h2',
90
  ),
91
  'ogf_post_page_h3' => array(
92
  'label' => esc_html__( 'H3 Typography', 'olympus-google-fonts' ),
93
  'description' => esc_html__( 'Select and configure the font for your H3 headings.', 'olympus-google-fonts' ),
94
  'section' => 'ogf_advanced__content',
95
- 'selectors' => '.entry-content h3, .post-content h3, .page-content h3, #content h3',
96
  ),
97
  'ogf_post_page_h4' => array(
98
  'label' => esc_html__( 'H4 Typography', 'olympus-google-fonts' ),
99
  'description' => esc_html__( 'Select and configure the font for your H4 headings.', 'olympus-google-fonts' ),
100
  'section' => 'ogf_advanced__content',
101
- 'selectors' => '.entry-content h4, .post-content h4, .page-content h4, #content h4',
102
  ),
103
  'ogf_post_page_h5' => array(
104
  'label' => esc_html__( 'H5 Typography', 'olympus-google-fonts' ),
105
  'description' => esc_html__( 'Select and configure the font for your H5 headings.', 'olympus-google-fonts' ),
106
  'section' => 'ogf_advanced__content',
107
- 'selectors' => '.entry-content h5, .post-content h5, .page-content h5, #content h5',
108
  ),
109
  'ogf_post_page_h6' => array(
110
  'label' => esc_html__( 'H6 Typography', 'olympus-google-fonts' ),
111
  'description' => esc_html__( 'Select and configure the font for your H6 headings.', 'olympus-google-fonts' ),
112
  'section' => 'ogf_advanced__content',
113
- 'selectors' => '.entry-content h6, .post-content h6, .page-content h6, #content h6',
114
  ),
115
  'ogf_sidebar_headings' => array(
116
  'label' => esc_html__( 'Headings Typography', 'olympus-google-fonts' ),
117
  'description' => esc_html__( 'Select and configure the font for your sidebar headings.', 'olympus-google-fonts' ),
118
  'section' => 'ogf_advanced__sidebar',
119
- 'selectors' => '.widget-title, .widget-area h1, .widget-area h2, .widget-area h3, .widget-area h4, .widgets-area h5, .widget-area h6, #secondary h1, #secondary h2, #secondary h3, #secondary h4, .widgets-area h5, #secondary h6',
120
  ),
121
  'ogf_sidebar_content' => array(
122
  'label' => esc_html__( 'Content Typography', 'olympus-google-fonts' ),
80
  'label' => esc_html__( 'Title and H1 Typography', 'olympus-google-fonts' ),
81
  'description' => esc_html__( 'Select and configure the font for your title and H1 headings.', 'olympus-google-fonts' ),
82
  'section' => 'ogf_advanced__content',
83
+ 'selectors' => '.entry-title, .entry-title a, .post-title, .post-title a, .page-title, .entry-content h1, #content h1, .type-post h1, .type-page h1',
84
  ),
85
  'ogf_post_page_h2' => array(
86
  'label' => esc_html__( 'H2 Typography', 'olympus-google-fonts' ),
87
  'description' => esc_html__( 'Select and configure the font for your H2 headings.', 'olympus-google-fonts' ),
88
  'section' => 'ogf_advanced__content',
89
+ 'selectors' => '.entry-content h2, .post-content h2, .page-content h2, #content h2, .type-post h2, .type-page h2',
90
  ),
91
  'ogf_post_page_h3' => array(
92
  'label' => esc_html__( 'H3 Typography', 'olympus-google-fonts' ),
93
  'description' => esc_html__( 'Select and configure the font for your H3 headings.', 'olympus-google-fonts' ),
94
  'section' => 'ogf_advanced__content',
95
+ 'selectors' => '.entry-content h3, .post-content h3, .page-content h3, #content h3, .type-post h3, .type-page h3',
96
  ),
97
  'ogf_post_page_h4' => array(
98
  'label' => esc_html__( 'H4 Typography', 'olympus-google-fonts' ),
99
  'description' => esc_html__( 'Select and configure the font for your H4 headings.', 'olympus-google-fonts' ),
100
  'section' => 'ogf_advanced__content',
101
+ 'selectors' => '.entry-content h4, .post-content h4, .page-content h4, #content h4, .type-post h4, .type-page h4',
102
  ),
103
  'ogf_post_page_h5' => array(
104
  'label' => esc_html__( 'H5 Typography', 'olympus-google-fonts' ),
105
  'description' => esc_html__( 'Select and configure the font for your H5 headings.', 'olympus-google-fonts' ),
106
  'section' => 'ogf_advanced__content',
107
+ 'selectors' => '.entry-content h5, .post-content h5, .page-content h5, #content h5, .type-post h5, .type-page h5',
108
  ),
109
  'ogf_post_page_h6' => array(
110
  'label' => esc_html__( 'H6 Typography', 'olympus-google-fonts' ),
111
  'description' => esc_html__( 'Select and configure the font for your H6 headings.', 'olympus-google-fonts' ),
112
  'section' => 'ogf_advanced__content',
113
+ 'selectors' => '.entry-content h6, .post-content h6, .page-content h6, #content h6, .type-post h6, .type-page h6',
114
  ),
115
  'ogf_sidebar_headings' => array(
116
  'label' => esc_html__( 'Headings Typography', 'olympus-google-fonts' ),
117
  'description' => esc_html__( 'Select and configure the font for your sidebar headings.', 'olympus-google-fonts' ),
118
  'section' => 'ogf_advanced__sidebar',
119
+ 'selectors' => '.widget-title, .widget-area h1, .widget-area h2, .widget-area h3, .widget-area h4, .widgets-area h5, .widget-area h6, #secondary h1, #secondary h2, #secondary h3, #secondary h4, #secondary h5, #secondary h6',
120
  ),
121
  'ogf_sidebar_content' => array(
122
  'label' => esc_html__( 'Content Typography', 'olympus-google-fonts' ),
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.3.3
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
@@ -19,7 +19,7 @@
19
  */
20
 
21
  if ( ! defined( 'OGF_VERSION' ) ) {
22
- define( 'OGF_VERSION', '2.3.3' );
23
  }
24
 
25
  if ( ! defined( 'OGF_DIR_PATH' ) ) {
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.3.4
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
19
  */
20
 
21
  if ( ! defined( 'OGF_VERSION' ) ) {
22
+ define( 'OGF_VERSION', '2.3.4' );
23
  }
24
 
25
  if ( ! defined( 'OGF_DIR_PATH' ) ) {
readme.txt CHANGED
@@ -5,7 +5,7 @@ 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.3.3
9
 
10
  The easiest to use Google Fonts Typography Plugin. No coding required. 900+ font choices.
11
 
5
  Requires at least: 4.0
6
  Tested up to: 5.5
7
  License: GPLv2 or later
8
+ Stable tag: 2.3.4
9
 
10
  The easiest to use Google Fonts Typography Plugin. No coding required. 900+ font choices.
11