Google Fonts for WordPress - Version 2.5.5

Version Description

Download this release

Release Info

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

Code changes from version 2.5.4 to 2.5.5

blocks/init.php CHANGED
@@ -81,7 +81,6 @@ add_action( 'init', 'olympus_google_fonts_register_block' );
81
  * @param array $attributes The block attributes.
82
  */
83
  function olympus_google_fonts_block_render( $attributes ) {
84
-
85
  $block_type = isset( $attributes['blockType'] ) ? esc_attr( $attributes['blockType'] ) : 'p';
86
  $font_id = isset( $attributes['fontID'] ) ? sanitize_text_field( $attributes['fontID'] ) : '';
87
  $variant = isset( $attributes['variant'] ) ? sanitize_text_field( $attributes['variant'] ) : '';
81
  * @param array $attributes The block attributes.
82
  */
83
  function olympus_google_fonts_block_render( $attributes ) {
 
84
  $block_type = isset( $attributes['blockType'] ) ? esc_attr( $attributes['blockType'] ) : 'p';
85
  $font_id = isset( $attributes['fontID'] ) ? sanitize_text_field( $attributes['fontID'] ) : '';
86
  $variant = isset( $attributes['variant'] ) ? sanitize_text_field( $attributes['variant'] ) : '';
changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 2.5.4 =
2
 
3
  * Update Google Fonts list
1
+ = 2.5.5 =
2
+
3
+ * Fix bug where Custom Font Files weren't being enqueued in Gutenberg.
4
+
5
  = 2.5.4 =
6
 
7
  * Update Google Fonts list
class-olympus-google-fonts.php CHANGED
@@ -16,7 +16,6 @@ class Olympus_Google_Fonts {
16
  * Initialize plugin.
17
  */
18
  public function __construct() {
19
-
20
  $this->includes();
21
 
22
  add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
@@ -31,14 +30,12 @@ class Olympus_Google_Fonts {
31
  if ( ! defined( 'OGF_PRO' ) ) {
32
  add_action( 'customize_register', array( $this, 'remove_pro_sections' ) );
33
  }
34
-
35
  }
36
 
37
  /**
38
  * Load plugin files.
39
  */
40
  public function includes() {
41
-
42
  // Custom uploads functionality.
43
  require_once OGF_DIR_PATH . 'includes/class-ogf-fonts-taxonomy.php';
44
  require_once OGF_DIR_PATH . 'admin/class-ogf-upload-fonts-screen.php';
@@ -72,23 +69,19 @@ class Olympus_Google_Fonts {
72
 
73
  // News widget.
74
  require_once OGF_DIR_PATH . 'includes/class-ogf-dashboard-widget.php';
75
-
76
  }
77
 
78
  /**
79
  * Load plugin textdomain.
80
  */
81
  public function load_textdomain() {
82
-
83
  load_plugin_textdomain( 'olympus-google-fonts', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
84
-
85
  }
86
 
87
  /**
88
  * Enqeue the Google Fonts URL.
89
  */
90
  public function enqueue() {
91
-
92
  $fonts = new OGF_Fonts();
93
 
94
  if ( $fonts->has_google_fonts() ) {
@@ -99,7 +92,6 @@ class Olympus_Google_Fonts {
99
  wp_add_inline_style( 'olympus-google-fonts', $css );
100
 
101
  }
102
-
103
  }
104
 
105
  /**
@@ -110,7 +102,6 @@ class Olympus_Google_Fonts {
110
  * @return array $urls URLs to print for resource hints.
111
  */
112
  public function resource_hints( $urls, $relation_type ) {
113
-
114
  if ( wp_style_is( 'olympus-google-fonts', 'queue' ) && 'preconnect' === $relation_type ) {
115
  $urls[] = array(
116
  'href' => 'https://fonts.gstatic.com',
@@ -118,7 +109,6 @@ class Olympus_Google_Fonts {
118
  );
119
  }
120
  return $urls;
121
-
122
  }
123
 
124
  /**
@@ -139,7 +129,6 @@ class Olympus_Google_Fonts {
139
  * Load preview scripts/styles.
140
  */
141
  public function customize_preview_enqueue() {
142
-
143
  wp_enqueue_script( 'ogf-customize-preview', esc_url( OGF_DIR_URL . 'assets/js/customize-preview.js' ), array( 'jquery' ), OGF_VERSION, true );
144
 
145
  $elements = array_merge( ogf_get_elements(), ogf_get_custom_elements() );
@@ -148,7 +137,6 @@ class Olympus_Google_Fonts {
148
  wp_localize_script( 'ogf-customize-preview', 'ogf_system_fonts', ogf_system_fonts() );
149
  wp_localize_script( 'ogf-customize-preview', 'ogf_custom_fonts', ogf_custom_fonts() );
150
  wp_localize_script( 'ogf-customize-preview', 'ogf_typekit_fonts', ogf_typekit_fonts() );
151
-
152
  }
153
 
154
  /**
@@ -157,7 +145,6 @@ class Olympus_Google_Fonts {
157
  * @param array $links Current links array.
158
  */
159
  public function links( $links ) {
160
-
161
  // Customizer Settings Link.
162
  $customizer_url = admin_url( 'customize.php?autofocus[panel]=ogf_google_fonts' );
163
 
@@ -166,16 +153,13 @@ class Olympus_Google_Fonts {
166
  array_push( $links, $settings_link );
167
 
168
  if ( ! defined( 'OGF_PRO' ) ) {
169
-
170
  // Upgrade Link.
171
  $pro_link = '<a href="https://fontsplugin.com/pro-upgrade/?utm_source=plugin&utm_medium=wpadmin&utm_campaign=upsell">' . esc_html__( 'Upgrade to Pro', 'olympus-google-fonts' ) . '</a>';
172
 
173
  array_push( $links, $pro_link );
174
-
175
  }
176
 
177
  return $links;
178
-
179
  }
180
 
181
  /**
16
  * Initialize plugin.
17
  */
18
  public function __construct() {
 
19
  $this->includes();
20
 
21
  add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
30
  if ( ! defined( 'OGF_PRO' ) ) {
31
  add_action( 'customize_register', array( $this, 'remove_pro_sections' ) );
32
  }
 
33
  }
34
 
35
  /**
36
  * Load plugin files.
37
  */
38
  public function includes() {
 
39
  // Custom uploads functionality.
40
  require_once OGF_DIR_PATH . 'includes/class-ogf-fonts-taxonomy.php';
41
  require_once OGF_DIR_PATH . 'admin/class-ogf-upload-fonts-screen.php';
69
 
70
  // News widget.
71
  require_once OGF_DIR_PATH . 'includes/class-ogf-dashboard-widget.php';
 
72
  }
73
 
74
  /**
75
  * Load plugin textdomain.
76
  */
77
  public function load_textdomain() {
 
78
  load_plugin_textdomain( 'olympus-google-fonts', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
 
79
  }
80
 
81
  /**
82
  * Enqeue the Google Fonts URL.
83
  */
84
  public function enqueue() {
 
85
  $fonts = new OGF_Fonts();
86
 
87
  if ( $fonts->has_google_fonts() ) {
92
  wp_add_inline_style( 'olympus-google-fonts', $css );
93
 
94
  }
 
95
  }
96
 
97
  /**
102
  * @return array $urls URLs to print for resource hints.
103
  */
104
  public function resource_hints( $urls, $relation_type ) {
 
105
  if ( wp_style_is( 'olympus-google-fonts', 'queue' ) && 'preconnect' === $relation_type ) {
106
  $urls[] = array(
107
  'href' => 'https://fonts.gstatic.com',
109
  );
110
  }
111
  return $urls;
 
112
  }
113
 
114
  /**
129
  * Load preview scripts/styles.
130
  */
131
  public function customize_preview_enqueue() {
 
132
  wp_enqueue_script( 'ogf-customize-preview', esc_url( OGF_DIR_URL . 'assets/js/customize-preview.js' ), array( 'jquery' ), OGF_VERSION, true );
133
 
134
  $elements = array_merge( ogf_get_elements(), ogf_get_custom_elements() );
137
  wp_localize_script( 'ogf-customize-preview', 'ogf_system_fonts', ogf_system_fonts() );
138
  wp_localize_script( 'ogf-customize-preview', 'ogf_custom_fonts', ogf_custom_fonts() );
139
  wp_localize_script( 'ogf-customize-preview', 'ogf_typekit_fonts', ogf_typekit_fonts() );
 
140
  }
141
 
142
  /**
145
  * @param array $links Current links array.
146
  */
147
  public function links( $links ) {
 
148
  // Customizer Settings Link.
149
  $customizer_url = admin_url( 'customize.php?autofocus[panel]=ogf_google_fonts' );
150
 
153
  array_push( $links, $settings_link );
154
 
155
  if ( ! defined( 'OGF_PRO' ) ) {
 
156
  // Upgrade Link.
157
  $pro_link = '<a href="https://fontsplugin.com/pro-upgrade/?utm_source=plugin&utm_medium=wpadmin&utm_campaign=upsell">' . esc_html__( 'Upgrade to Pro', 'olympus-google-fonts' ) . '</a>';
158
 
159
  array_push( $links, $pro_link );
 
160
  }
161
 
162
  return $links;
 
163
  }
164
 
165
  /**
compatibility/colorlib.php CHANGED
@@ -13,10 +13,8 @@
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_colorlib_elements( $elements ) {
16
-
17
  $elements['ogf_inputs']['selectors'] = 'button, .button, input, select, textarea, .wp-block-button, .wp-block-button__link, .btn, .header-button-one, .header-button-two, .latest-news-button, .readmore, .submit, #submit, .more-link, .blog-post-button';
18
- return $elements;
19
 
 
20
  }
21
-
22
  add_filter( 'ogf_elements', 'ogf_colorlib_elements' );
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_colorlib_elements( $elements ) {
 
16
  $elements['ogf_inputs']['selectors'] = 'button, .button, input, select, textarea, .wp-block-button, .wp-block-button__link, .btn, .header-button-one, .header-button-two, .latest-news-button, .readmore, .submit, #submit, .more-link, .blog-post-button';
 
17
 
18
+ return $elements;
19
  }
 
20
  add_filter( 'ogf_elements', 'ogf_colorlib_elements' );
compatibility/lyrathemes.php CHANGED
@@ -13,7 +13,6 @@
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_lyrathemes_elements( $elements ) {
16
-
17
  $elements['ogf_body']['selectors'] = 'body, #content, .single-content, .entry-content, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .widget-area, .widget, .sidebar, #sidebar, footer, .footer, #footer, .site-footer';
18
  $elements['ogf_post_page_content']['selectors'] = '.single-content, .single-content p, .entry-content, .entry-content p, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .excerpt, .excerpt p';
19
  $elements['ogf_post_page_h2']['selectors'] = '.entry-content h2, .post-content h2, .page-content h2, #content h2, .single-content h2';
@@ -21,8 +20,7 @@ function ogf_lyrathemes_elements( $elements ) {
21
  $elements['ogf_post_page_h4']['selectors'] = '.entry-content h4, .post-content h4, .page-content h4, #content h4, .single-content h4';
22
  $elements['ogf_post_page_h5']['selectors'] = '.entry-content h5, .post-content h5, .page-content h5, #content h5, .single-content h5';
23
  $elements['ogf_post_page_h6']['selectors'] = '.entry-content h6, .post-content h6, .page-content h6, #content h6, .single-content h6';
24
- return $elements;
25
 
 
26
  }
27
-
28
  add_filter( 'ogf_elements', 'ogf_lyrathemes_elements' );
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_lyrathemes_elements( $elements ) {
 
16
  $elements['ogf_body']['selectors'] = 'body, #content, .single-content, .entry-content, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .widget-area, .widget, .sidebar, #sidebar, footer, .footer, #footer, .site-footer';
17
  $elements['ogf_post_page_content']['selectors'] = '.single-content, .single-content p, .entry-content, .entry-content p, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .excerpt, .excerpt p';
18
  $elements['ogf_post_page_h2']['selectors'] = '.entry-content h2, .post-content h2, .page-content h2, #content h2, .single-content h2';
20
  $elements['ogf_post_page_h4']['selectors'] = '.entry-content h4, .post-content h4, .page-content h4, #content h4, .single-content h4';
21
  $elements['ogf_post_page_h5']['selectors'] = '.entry-content h5, .post-content h5, .page-content h5, #content h5, .single-content h5';
22
  $elements['ogf_post_page_h6']['selectors'] = '.entry-content h6, .post-content h6, .page-content h6, #content h6, .single-content h6';
 
23
 
24
+ return $elements;
25
  }
 
26
  add_filter( 'ogf_elements', 'ogf_lyrathemes_elements' );
compatibility/themefreesia.php CHANGED
@@ -13,14 +13,12 @@
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_themefreesia_elements( $elements ) {
16
-
17
  $elements['ogf_post_page_h2']['selectors'] = '.entry-content h2,';
18
  $elements['ogf_post_page_h3']['selectors'] = '.entry-content h3,';
19
  $elements['ogf_post_page_h4']['selectors'] = '.entry-content h4,';
20
  $elements['ogf_post_page_h5']['selectors'] = '.entry-content h5,';
21
  $elements['ogf_post_page_h6']['selectors'] = '.entry-content h6,';
22
- return $elements;
23
 
 
24
  }
25
-
26
  add_filter( 'ogf_elements', 'ogf_themefreesia_elements' );
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_themefreesia_elements( $elements ) {
 
16
  $elements['ogf_post_page_h2']['selectors'] = '.entry-content h2,';
17
  $elements['ogf_post_page_h3']['selectors'] = '.entry-content h3,';
18
  $elements['ogf_post_page_h4']['selectors'] = '.entry-content h4,';
19
  $elements['ogf_post_page_h5']['selectors'] = '.entry-content h5,';
20
  $elements['ogf_post_page_h6']['selectors'] = '.entry-content h6,';
 
21
 
22
+ return $elements;
23
  }
 
24
  add_filter( 'ogf_elements', 'ogf_themefreesia_elements' );
compatibility/themegrill.php CHANGED
@@ -13,10 +13,8 @@
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_themegrill_elements( $elements ) {
16
-
17
  $elements['ogf_body']['selectors'] = 'body, p';
18
- return $elements;
19
 
 
20
  }
21
-
22
  add_filter( 'ogf_elements', 'ogf_themegrill_elements' );
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_themegrill_elements( $elements ) {
 
16
  $elements['ogf_body']['selectors'] = 'body, p';
 
17
 
18
+ return $elements;
19
  }
 
20
  add_filter( 'ogf_elements', 'ogf_themegrill_elements' );
compatibility/themeisle.php CHANGED
@@ -13,15 +13,13 @@
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_themeisle_elements( $elements ) {
16
-
17
  $elements['ogf_post_page_h1']['selectors'] = '.entry-content h1, .post-content h1, .page-content h1, #content h1, .single-post-wrap h1, .page-content-wrap h1';
18
  $elements['ogf_post_page_h2']['selectors'] = '.entry-content h2, .post-content h2, .page-content h2, #content h2, .single-post-wrap h2, .page-content-wrap h2';
19
  $elements['ogf_post_page_h3']['selectors'] = '.entry-content h3, .post-content h3, .page-content h3, #content h3, .single-post-wrap h3, .page-content-wrap h3';
20
  $elements['ogf_post_page_h4']['selectors'] = '.entry-content h4, .post-content h4, .page-content h4, #content h4, .single-post-wrap h4, .page-content-wrap h4';
21
  $elements['ogf_post_page_h5']['selectors'] = '.entry-content h5, .post-content h5, .page-content h5, #content h5, .single-post-wrap h5, .page-content-wrap h5';
22
  $elements['ogf_post_page_h6']['selectors'] = '.entry-content h6, .post-content h6, .page-content h6, #content h6, .single-post-wrap h6, .page-content-wrap h6';
23
- return $elements;
24
 
 
25
  }
26
-
27
  add_filter( 'ogf_elements', 'ogf_themeisle_elements' );
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_themeisle_elements( $elements ) {
 
16
  $elements['ogf_post_page_h1']['selectors'] = '.entry-content h1, .post-content h1, .page-content h1, #content h1, .single-post-wrap h1, .page-content-wrap h1';
17
  $elements['ogf_post_page_h2']['selectors'] = '.entry-content h2, .post-content h2, .page-content h2, #content h2, .single-post-wrap h2, .page-content-wrap h2';
18
  $elements['ogf_post_page_h3']['selectors'] = '.entry-content h3, .post-content h3, .page-content h3, #content h3, .single-post-wrap h3, .page-content-wrap h3';
19
  $elements['ogf_post_page_h4']['selectors'] = '.entry-content h4, .post-content h4, .page-content h4, #content h4, .single-post-wrap h4, .page-content-wrap h4';
20
  $elements['ogf_post_page_h5']['selectors'] = '.entry-content h5, .post-content h5, .page-content h5, #content h5, .single-post-wrap h5, .page-content-wrap h5';
21
  $elements['ogf_post_page_h6']['selectors'] = '.entry-content h6, .post-content h6, .page-content h6, #content h6, .single-post-wrap h6, .page-content-wrap h6';
 
22
 
23
+ return $elements;
24
  }
 
25
  add_filter( 'ogf_elements', 'ogf_themeisle_elements' );
compatibility/thewordpressteam.php CHANGED
@@ -13,11 +13,9 @@
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_wporg_elements( $elements ) {
16
-
17
  $elements['ogf_body']['selectors'] = 'body, #content, .entry-content, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .widget-area, .widget, .sidebar, #sidebar, footer, .footer, #footer, .site-footer, #site-footer, .entry-content p, .entry-content ol, .entry-content ul, .entry-content dl, .entry-content dt, .widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary';
18
  $elements['ogf_sidebar_content']['selectors'] = '.widget-area, .widget, .sidebar, #sidebar, .widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary';
19
- return $elements;
20
 
 
21
  }
22
-
23
  add_filter( 'ogf_elements', 'ogf_wporg_elements' );
13
  * @param array $elements The default elements.
14
  */
15
  function ogf_wporg_elements( $elements ) {
 
16
  $elements['ogf_body']['selectors'] = 'body, #content, .entry-content, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .widget-area, .widget, .sidebar, #sidebar, footer, .footer, #footer, .site-footer, #site-footer, .entry-content p, .entry-content ol, .entry-content ul, .entry-content dl, .entry-content dt, .widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary';
17
  $elements['ogf_sidebar_content']['selectors'] = '.widget-area, .widget, .sidebar, #sidebar, .widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary';
 
18
 
19
+ return $elements;
20
  }
 
21
  add_filter( 'ogf_elements', 'ogf_wporg_elements' );
includes/class-ogf-classic-editor.php CHANGED
@@ -123,7 +123,7 @@ if ( ! class_exists( 'OGF_Classic_Editor' ) ) :
123
  $opt['content_style'] .= '#tinymce h1, #tinymce h2, #tinymce h3, #tinymce h4, #tinymce h5, #tinymce h6 { font-family: ' . $headings_type . ' !important; }';
124
  }
125
 
126
- $opt['content_style'] .= render_custom_font_css();
127
  return $opt;
128
  }
129
 
123
  $opt['content_style'] .= '#tinymce h1, #tinymce h2, #tinymce h3, #tinymce h4, #tinymce h5, #tinymce h6 { font-family: ' . $headings_type . ' !important; }';
124
  }
125
 
126
+ $opt['content_style'] .= ogf_return_custom_font_css();
127
  return $opt;
128
  }
129
 
includes/class-ogf-dashboard-widget.php CHANGED
@@ -39,7 +39,6 @@ class OGF_Dashboard_Widget {
39
  * Show Widget
40
  */
41
  public function show_widget() {
42
-
43
  $show = true;
44
 
45
  if ( apply_filters( 'ogf_show_news', true ) === false ) {
@@ -116,7 +115,6 @@ class OGF_Dashboard_Widget {
116
  </ul>
117
 
118
  <?php
119
-
120
  }
121
  }
122
 
39
  * Show Widget
40
  */
41
  public function show_widget() {
 
42
  $show = true;
43
 
44
  if ( apply_filters( 'ogf_show_news', true ) === false ) {
115
  </ul>
116
 
117
  <?php
 
118
  }
119
  }
120
 
includes/class-ogf-fonts.php CHANGED
@@ -30,17 +30,14 @@ class OGF_Fonts {
30
  * Let's get started.
31
  */
32
  public function __construct() {
33
-
34
  self::$google_fonts = ogf_fonts_array();
35
  $this->get_choices();
36
-
37
  }
38
 
39
  /**
40
  * Get the users font choices.
41
  */
42
  public function get_choices() {
43
-
44
  $elements = array_keys( ogf_get_elements() );
45
 
46
  foreach ( $elements as $element ) {
@@ -64,7 +61,6 @@ class OGF_Fonts {
64
  $this->choices[] = $value;
65
  }
66
  }
67
-
68
  }
69
 
70
  /**
@@ -73,9 +69,7 @@ class OGF_Fonts {
73
  * @param string $font The font we are getting the id of.
74
  */
75
  public function get_font_id( $font ) {
76
-
77
  return str_replace( ' ', '+', $font );
78
-
79
  }
80
 
81
  /**
@@ -84,7 +78,6 @@ class OGF_Fonts {
84
  * @param string $font_id The font ID.
85
  */
86
  public function get_font_weights( $font_id ) {
87
-
88
  $weights = self::$google_fonts[ $font_id ]['v'];
89
 
90
  if ( ! is_array( $weights ) ) {
@@ -98,7 +91,6 @@ class OGF_Fonts {
98
  }
99
 
100
  return $weights;
101
-
102
  }
103
 
104
  /**
@@ -107,22 +99,18 @@ class OGF_Fonts {
107
  * @param string $font_id The font ID.
108
  */
109
  public function get_font_name( $font_id ) {
110
-
111
  if ( array_key_exists( $font_id, self::$google_fonts ) ) {
112
  return self::$google_fonts[ $font_id ]['f'];
113
  } else {
114
  return __( 'Font Missing', 'olympus-google-fonts' );
115
  }
116
-
117
  }
118
 
119
  /**
120
  * DEPRECATED use has_google_fonts() instead.
121
  */
122
  public function has_custom_fonts() {
123
-
124
  return $this->has_google_fonts();
125
-
126
  }
127
 
128
  /**
@@ -151,7 +139,6 @@ class OGF_Fonts {
151
  * @param string $weights The font weights.
152
  */
153
  public function filter_selected_weights( $font_id, $weights ) {
154
-
155
  unset( $weights['0'] );
156
 
157
  foreach ( $weights as $key => $value ) {
@@ -164,14 +151,12 @@ class OGF_Fonts {
164
  return $weights;
165
  }
166
  return array_intersect_key( $weights, array_flip( $selected_weights ) );
167
-
168
  }
169
 
170
  /**
171
  * Return the Google Fonts url.
172
  */
173
  public function build_url() {
174
-
175
  $families = array();
176
  $subsets = array();
177
 
@@ -201,7 +186,6 @@ class OGF_Fonts {
201
  );
202
 
203
  return add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
204
-
205
  }
206
 
207
  }
30
  * Let's get started.
31
  */
32
  public function __construct() {
 
33
  self::$google_fonts = ogf_fonts_array();
34
  $this->get_choices();
 
35
  }
36
 
37
  /**
38
  * Get the users font choices.
39
  */
40
  public function get_choices() {
 
41
  $elements = array_keys( ogf_get_elements() );
42
 
43
  foreach ( $elements as $element ) {
61
  $this->choices[] = $value;
62
  }
63
  }
 
64
  }
65
 
66
  /**
69
  * @param string $font The font we are getting the id of.
70
  */
71
  public function get_font_id( $font ) {
 
72
  return str_replace( ' ', '+', $font );
 
73
  }
74
 
75
  /**
78
  * @param string $font_id The font ID.
79
  */
80
  public function get_font_weights( $font_id ) {
 
81
  $weights = self::$google_fonts[ $font_id ]['v'];
82
 
83
  if ( ! is_array( $weights ) ) {
91
  }
92
 
93
  return $weights;
 
94
  }
95
 
96
  /**
99
  * @param string $font_id The font ID.
100
  */
101
  public function get_font_name( $font_id ) {
 
102
  if ( array_key_exists( $font_id, self::$google_fonts ) ) {
103
  return self::$google_fonts[ $font_id ]['f'];
104
  } else {
105
  return __( 'Font Missing', 'olympus-google-fonts' );
106
  }
 
107
  }
108
 
109
  /**
110
  * DEPRECATED use has_google_fonts() instead.
111
  */
112
  public function has_custom_fonts() {
 
113
  return $this->has_google_fonts();
 
114
  }
115
 
116
  /**
139
  * @param string $weights The font weights.
140
  */
141
  public function filter_selected_weights( $font_id, $weights ) {
 
142
  unset( $weights['0'] );
143
 
144
  foreach ( $weights as $key => $value ) {
151
  return $weights;
152
  }
153
  return array_intersect_key( $weights, array_flip( $selected_weights ) );
 
154
  }
155
 
156
  /**
157
  * Return the Google Fonts url.
158
  */
159
  public function build_url() {
 
160
  $families = array();
161
  $subsets = array();
162
 
186
  );
187
 
188
  return add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
 
189
  }
190
 
191
  }
includes/class-ogf-notifications.php CHANGED
@@ -248,7 +248,6 @@ if ( ! class_exists( 'OGF_Notifications' ) ) :
248
  }
249
  endif;
250
 
251
-
252
  /*
253
  * Instantiate the OGF_Notifications class.
254
  */
248
  }
249
  endif;
250
 
 
251
  /*
252
  * Instantiate the OGF_Notifications class.
253
  */
includes/class-ogf-reset.php CHANGED
@@ -67,7 +67,6 @@ if ( ! class_exists( 'OGF_Reset' ) ) :
67
  ),
68
  )
69
  );
70
-
71
  }
72
 
73
  /**
67
  ),
68
  )
69
  );
 
70
  }
71
 
72
  /**
includes/class-ogf-typekit.php CHANGED
@@ -70,7 +70,7 @@ class OGF_Typekit {
70
  * Render the settings intro section of the Typekit page.
71
  */
72
  public function render_config_section() {
73
- _e( '<p>You can retrieve your Adobe Fonts API Key here: <a target="_blank" href="https://fonts.adobe.com/account/tokens">https://fonts.adobe.com/account/tokens</a></p>', 'olympus-google-fonts' );
74
  }
75
 
76
  /**
@@ -224,7 +224,6 @@ class OGF_Typekit {
224
  * Get kit data from API.
225
  */
226
  public function manage_kits() {
227
-
228
  // Only perform action on the Fonts Plugin Typekit Page.
229
  if ( get_current_screen()->id !== 'fonts-plugin_page_fonts-plugin-typekit' ) {
230
  return;
@@ -322,7 +321,6 @@ class OGF_Typekit {
322
  }
323
  }
324
  }
325
-
326
  }
327
 
328
  new OGF_Typekit();
70
  * Render the settings intro section of the Typekit page.
71
  */
72
  public function render_config_section() {
73
+ _e( '<p>You can retrieve your Adobe Fonts API Key here: <a target="_blank" href="https://fonts.adobe.com/account/tokens">https://fonts.adobe.com/account/tokens</a></p>', 'olympus-google-fonts' );
74
  }
75
 
76
  /**
224
  * Get kit data from API.
225
  */
226
  public function manage_kits() {
 
227
  // Only perform action on the Fonts Plugin Typekit Page.
228
  if ( get_current_screen()->id !== 'fonts-plugin_page_fonts-plugin-typekit' ) {
229
  return;
321
  }
322
  }
323
  }
 
324
  }
325
 
326
  new OGF_Typekit();
includes/class-ogf-welcome.php CHANGED
@@ -80,7 +80,6 @@ if ( ! class_exists( 'OGF_Welcome' ) ) :
80
  * Display the admin notice.
81
  */
82
  public function display_admin_notice() {
83
-
84
  if ( get_option( 'dismissed-' . $this->slug, false ) ) {
85
  return;
86
  }
@@ -95,7 +94,6 @@ if ( ! class_exists( 'OGF_Welcome' ) ) :
95
  </div>
96
  <?php
97
  }
98
-
99
  }
100
  endif;
101
 
80
  * Display the admin notice.
81
  */
82
  public function display_admin_notice() {
 
83
  if ( get_option( 'dismissed-' . $this->slug, false ) ) {
84
  return;
85
  }
94
  </div>
95
  <?php
96
  }
 
97
  }
98
  endif;
99
 
includes/customizer/controls/class-ogf-customize-repeater-control.php CHANGED
@@ -38,12 +38,11 @@ class OGF_Customize_Repeater_Control extends WP_Customize_Control {
38
  * Render the control.
39
  */
40
  public function render_content() {
41
-
42
- /*Get default options*/
43
  $default = json_decode( $this->setting->default );
44
- /*Get values (json format)*/
45
  $values = $this->value();
46
- /*Decode values*/
47
  $json = json_decode( $values );
48
  if ( ! is_array( $json ) ) {
49
  $json = array( $values );
@@ -95,7 +94,7 @@ class OGF_Customize_Repeater_Control extends WP_Customize_Control {
95
  * @param array $array The array.
96
  */
97
  private function iterate_array( $array = array() ) {
98
- /*Counter that helps checking if the box is first and should have the delete button disabled*/
99
  $count = 0;
100
  if ( ! empty( $array ) ) {
101
  foreach ( $array as $icon ) {
@@ -122,7 +121,6 @@ class OGF_Customize_Repeater_Control extends WP_Customize_Control {
122
  * @param string $count Count how many controls have been displayed so far.
123
  */
124
  private function input_control( $values = '', $count = 0 ) {
125
-
126
  $label = ( isset( $values->label ) ? $values->label : '' );
127
  $description = ( isset( $values->description ) ? $values->description : '' );
128
  $selectors = ( isset( $values->selectors ) ? $values->selectors : '' );
38
  * Render the control.
39
  */
40
  public function render_content() {
41
+ // Get default options.
 
42
  $default = json_decode( $this->setting->default );
43
+ // Get values (json format).
44
  $values = $this->value();
45
+ // Decode values.
46
  $json = json_decode( $values );
47
  if ( ! is_array( $json ) ) {
48
  $json = array( $values );
94
  * @param array $array The array.
95
  */
96
  private function iterate_array( $array = array() ) {
97
+ // Counter that helps checking if the box is first and should have the delete button disabled.
98
  $count = 0;
99
  if ( ! empty( $array ) ) {
100
  foreach ( $array as $icon ) {
121
  * @param string $count Count how many controls have been displayed so far.
122
  */
123
  private function input_control( $values = '', $count = 0 ) {
 
124
  $label = ( isset( $values->label ) ? $values->label : '' );
125
  $description = ( isset( $values->description ) ? $values->description : '' );
126
  $selectors = ( isset( $values->selectors ) ? $values->selectors : '' );
includes/customizer/output-css.php CHANGED
@@ -17,7 +17,7 @@ function ogf_output_css() {
17
  <?php
18
 
19
  do_action( 'ogf_inline_styles' );
20
- echo render_custom_font_css();
21
 
22
  foreach ( ogf_get_elements() as $id => $values ) {
23
  ogf_generate_css( $values['selectors'], $id );
@@ -37,9 +37,9 @@ function ogf_output_css() {
37
  add_action( 'wp_head', 'ogf_output_css', 1000 );
38
 
39
  /**
40
- *
41
  */
42
- function render_custom_font_css() {
43
  $fonts = OGF_Fonts_Taxonomy::get_fonts();
44
 
45
  $css = '';
@@ -70,7 +70,6 @@ function render_custom_font_css() {
70
  }
71
 
72
  return $css;
73
-
74
  }
75
 
76
  /**
@@ -80,7 +79,6 @@ function render_custom_font_css() {
80
  * @param string $option_name The option name to pull from the database.
81
  */
82
  function ogf_generate_css( $selector, $option_name ) {
83
-
84
  $family = get_theme_mod( $option_name . '_font', false );
85
  $font_size = get_theme_mod( $option_name . '_font_size', false );
86
  $line_height = get_theme_mod( $option_name . '_line_height', false );
@@ -175,7 +173,6 @@ function ogf_generate_css( $selector, $option_name ) {
175
  echo wp_kses_post( $return );
176
 
177
  }
178
-
179
  }
180
 
181
  /**
@@ -185,7 +182,6 @@ function ogf_generate_css( $selector, $option_name ) {
185
  * @return string The built font stack.
186
  */
187
  function ogf_build_font_stack( $font_id ) {
188
-
189
  if ( strpos( $font_id, 'sf-' ) !== false ) {
190
 
191
  $system_fonts = ogf_system_fonts();
@@ -224,25 +220,21 @@ function ogf_build_font_stack( $font_id ) {
224
  return $stack;
225
  }
226
  }
227
-
228
  }
229
 
230
  /**
231
  * Check if the styles should be forced.
232
  */
233
  function ogf_is_forced() {
234
-
235
  if ( 1 === (int) get_theme_mod( 'ogf_force_styles' ) ) {
236
  return ' !important';
237
  }
238
-
239
  }
240
 
241
  /**
242
  * Helper function to build the CSS variables.
243
  */
244
  function ogf_generate_css_variables() {
245
-
246
  $body_font = get_theme_mod( 'ogf_body_font', false );
247
  $headings_font = get_theme_mod( 'ogf_headings_font', false );
248
  $inputs_font = get_theme_mod( 'ogf_inputs_font', false );
@@ -271,5 +263,4 @@ function ogf_generate_css_variables() {
271
  ';
272
 
273
  return $css;
274
-
275
  }
17
  <?php
18
 
19
  do_action( 'ogf_inline_styles' );
20
+ echo ogf_return_custom_font_css();
21
 
22
  foreach ( ogf_get_elements() as $id => $values ) {
23
  ogf_generate_css( $values['selectors'], $id );
37
  add_action( 'wp_head', 'ogf_output_css', 1000 );
38
 
39
  /**
40
+ * Return the CSS for enqueing Custom Font Uploads.
41
  */
42
+ function ogf_return_custom_font_css() {
43
  $fonts = OGF_Fonts_Taxonomy::get_fonts();
44
 
45
  $css = '';
70
  }
71
 
72
  return $css;
 
73
  }
74
 
75
  /**
79
  * @param string $option_name The option name to pull from the database.
80
  */
81
  function ogf_generate_css( $selector, $option_name ) {
 
82
  $family = get_theme_mod( $option_name . '_font', false );
83
  $font_size = get_theme_mod( $option_name . '_font_size', false );
84
  $line_height = get_theme_mod( $option_name . '_line_height', false );
173
  echo wp_kses_post( $return );
174
 
175
  }
 
176
  }
177
 
178
  /**
182
  * @return string The built font stack.
183
  */
184
  function ogf_build_font_stack( $font_id ) {
 
185
  if ( strpos( $font_id, 'sf-' ) !== false ) {
186
 
187
  $system_fonts = ogf_system_fonts();
220
  return $stack;
221
  }
222
  }
 
223
  }
224
 
225
  /**
226
  * Check if the styles should be forced.
227
  */
228
  function ogf_is_forced() {
 
229
  if ( 1 === (int) get_theme_mod( 'ogf_force_styles' ) ) {
230
  return ' !important';
231
  }
 
232
  }
233
 
234
  /**
235
  * Helper function to build the CSS variables.
236
  */
237
  function ogf_generate_css_variables() {
 
238
  $body_font = get_theme_mod( 'ogf_body_font', false );
239
  $headings_font = get_theme_mod( 'ogf_headings_font', false );
240
  $inputs_font = get_theme_mod( 'ogf_inputs_font', false );
263
  ';
264
 
265
  return $css;
 
266
  }
includes/customizer/panels.php CHANGED
@@ -21,7 +21,6 @@ add_action( 'customize_controls_enqueue_scripts', 'ogf_panels_customize_controls
21
  * @param object $wp_customize Access to the $wp_customize object.
22
  */
23
  function ogf_panels_customize_register( $wp_customize ) {
24
-
25
  require_once OGF_DIR_PATH . 'includes/customizer/controls/class-ogf-customize-panel.php';
26
  $wp_customize->register_panel_type( 'OGF_Customize_Panel' );
27
 
@@ -160,6 +159,5 @@ function ogf_panels_customize_register( $wp_customize ) {
160
  'panel' => 'ogf_advanced',
161
  )
162
  );
163
-
164
  }
165
  add_action( 'customize_register', 'ogf_panels_customize_register' );
21
  * @param object $wp_customize Access to the $wp_customize object.
22
  */
23
  function ogf_panels_customize_register( $wp_customize ) {
 
24
  require_once OGF_DIR_PATH . 'includes/customizer/controls/class-ogf-customize-panel.php';
25
  $wp_customize->register_panel_type( 'OGF_Customize_Panel' );
26
 
159
  'panel' => 'ogf_advanced',
160
  )
161
  );
 
162
  }
163
  add_action( 'customize_register', 'ogf_panels_customize_register' );
includes/functions.php CHANGED
@@ -11,7 +11,6 @@
11
  * An array of user-defined elements that can be customized using the plugin.
12
  */
13
  function ogf_get_custom_elements() {
14
-
15
  $theme_mod = get_theme_mod( 'ogf_custom_selectors', false );
16
 
17
  if ( ! $theme_mod ) {
@@ -25,14 +24,12 @@ function ogf_get_custom_elements() {
25
  }
26
 
27
  return $custom_selectors;
28
-
29
  }
30
 
31
  /**
32
  * An array of elements that can be customized using the plugin.
33
  */
34
  function ogf_get_elements() {
35
-
36
  $elements = array(
37
  'ogf_body' => array(
38
  'label' => esc_html__( 'Base Typography', 'olympus-google-fonts' ),
@@ -141,7 +138,6 @@ function ogf_get_elements() {
141
  );
142
 
143
  return apply_filters( 'ogf_elements', $elements );
144
-
145
  }
146
 
147
  /**
@@ -150,7 +146,6 @@ function ogf_get_elements() {
150
  * @return array All Google Fonts.
151
  */
152
  function ogf_fonts_array() {
153
-
154
  $fonts_json = file_get_contents( OGF_DIR_PATH . '/blocks/src/google-fonts/fonts.json' );
155
 
156
  // Change the object to a multidimensional array.
@@ -298,7 +293,6 @@ function ogf_system_fonts() {
298
  $filtered_system_fonts = apply_filters( 'ogf_system_fonts', $system_fonts );
299
 
300
  return $filtered_system_fonts;
301
-
302
  }
303
 
304
  /**
@@ -334,7 +328,6 @@ function ogf_font_variants() {
334
  * @param string $font_id The ID of the font to check.
335
  */
336
  function ogf_is_system_font( $font_id ) {
337
-
338
  if ( ! is_string( $font_id ) ) {
339
  return false;
340
  }
@@ -351,7 +344,6 @@ function ogf_is_system_font( $font_id ) {
351
  * @param string $font_id The ID of the font to check.
352
  */
353
  function ogf_is_custom_font( $font_id ) {
354
-
355
  if ( ! is_string( $font_id ) ) {
356
  return false;
357
  }
@@ -385,7 +377,6 @@ function ogf_is_typekit_font( $font_id ) {
385
  * @param string $font_id The ID of the font to check.
386
  */
387
  function ogf_is_google_font( $font_id ) {
388
-
389
  if ( ! is_string( $font_id ) ) {
390
  return false;
391
  }
11
  * An array of user-defined elements that can be customized using the plugin.
12
  */
13
  function ogf_get_custom_elements() {
 
14
  $theme_mod = get_theme_mod( 'ogf_custom_selectors', false );
15
 
16
  if ( ! $theme_mod ) {
24
  }
25
 
26
  return $custom_selectors;
 
27
  }
28
 
29
  /**
30
  * An array of elements that can be customized using the plugin.
31
  */
32
  function ogf_get_elements() {
 
33
  $elements = array(
34
  'ogf_body' => array(
35
  'label' => esc_html__( 'Base Typography', 'olympus-google-fonts' ),
138
  );
139
 
140
  return apply_filters( 'ogf_elements', $elements );
 
141
  }
142
 
143
  /**
146
  * @return array All Google Fonts.
147
  */
148
  function ogf_fonts_array() {
 
149
  $fonts_json = file_get_contents( OGF_DIR_PATH . '/blocks/src/google-fonts/fonts.json' );
150
 
151
  // Change the object to a multidimensional array.
293
  $filtered_system_fonts = apply_filters( 'ogf_system_fonts', $system_fonts );
294
 
295
  return $filtered_system_fonts;
 
296
  }
297
 
298
  /**
328
  * @param string $font_id The ID of the font to check.
329
  */
330
  function ogf_is_system_font( $font_id ) {
 
331
  if ( ! is_string( $font_id ) ) {
332
  return false;
333
  }
344
  * @param string $font_id The ID of the font to check.
345
  */
346
  function ogf_is_custom_font( $font_id ) {
 
347
  if ( ! is_string( $font_id ) ) {
348
  return false;
349
  }
377
  * @param string $font_id The ID of the font to check.
378
  */
379
  function ogf_is_google_font( $font_id ) {
 
380
  if ( ! is_string( $font_id ) ) {
381
  return false;
382
  }
includes/gutenberg/output-css.php CHANGED
@@ -11,7 +11,6 @@
11
  * Enqeue the Google Fonts URL.
12
  */
13
  function ogf_gutenberg_enqueue_fonts() {
14
-
15
  $fonts = new OGF_Fonts();
16
 
17
  if ( $fonts->has_google_fonts() ) {
@@ -21,7 +20,6 @@ function ogf_gutenberg_enqueue_fonts() {
21
  $css = ogf_generate_css_variables();
22
  wp_add_inline_style( 'olympus-google-fonts', $css );
23
  }
24
-
25
  }
26
  add_action( 'enqueue_block_editor_assets', 'ogf_gutenberg_enqueue_fonts' );
27
 
@@ -29,7 +27,6 @@ add_action( 'enqueue_block_editor_assets', 'ogf_gutenberg_enqueue_fonts' );
29
  * Output the font CSS to wp_head.
30
  */
31
  function ogf_gutenberg_output_css() {
32
-
33
  // Only load on Gutenberg-enabled pages.
34
  global $current_screen;
35
  $current_screen = get_current_screen();
@@ -172,5 +169,12 @@ function ogf_generate_css_gutenberg( $selector, $option_name ) {
172
  echo wp_kses_post( $return );
173
 
174
  }
 
175
 
 
 
 
 
 
176
  }
 
11
  * Enqeue the Google Fonts URL.
12
  */
13
  function ogf_gutenberg_enqueue_fonts() {
 
14
  $fonts = new OGF_Fonts();
15
 
16
  if ( $fonts->has_google_fonts() ) {
20
  $css = ogf_generate_css_variables();
21
  wp_add_inline_style( 'olympus-google-fonts', $css );
22
  }
 
23
  }
24
  add_action( 'enqueue_block_editor_assets', 'ogf_gutenberg_enqueue_fonts' );
25
 
27
  * Output the font CSS to wp_head.
28
  */
29
  function ogf_gutenberg_output_css() {
 
30
  // Only load on Gutenberg-enabled pages.
31
  global $current_screen;
32
  $current_screen = get_current_screen();
169
  echo wp_kses_post( $return );
170
 
171
  }
172
+ }
173
 
174
+ /**
175
+ * Add CSS for Custom Font Uploads to Gutenberg
176
+ */
177
+ function ogf_gutenberg_custom_font_css() {
178
+ echo ogf_return_custom_font_css();
179
  }
180
+ add_action( 'ogf_gutenberg_inline_styles', 'ogf_gutenberg_custom_font_css', 1 );
languages/olympus-google-fonts.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Fonts Plugin | Google Fonts Typography plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Fonts Plugin | Google Fonts Typography 2.5.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/olympus-google-fonts\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2021-02-25T13:48:45+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.1.0\n"
15
  "X-Domain: olympus-google-fonts\n"
@@ -27,7 +27,7 @@ msgid "The easiest to use Google Fonts typography plugin. No coding required. 10
27
  msgstr ""
28
 
29
  #. Author of the plugin
30
- #: includes/customizer/panels.php:32
31
  #: admin/class-ogf-welcome-screen.php:28
32
  msgid "Fonts Plugin"
33
  msgstr ""
@@ -36,199 +36,199 @@ msgstr ""
36
  msgid "https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description"
37
  msgstr ""
38
 
39
- #: class-olympus-google-fonts.php:164
40
  msgid "Settings"
41
  msgstr ""
42
 
43
- #: class-olympus-google-fonts.php:171
44
  msgid "Upgrade to Pro"
45
  msgstr ""
46
 
47
- #: includes/functions.php:38
48
  msgid "Base Typography"
49
  msgstr ""
50
 
51
- #: includes/functions.php:39
52
  msgid "Select and configure the font for your content."
53
  msgstr ""
54
 
55
- #: includes/functions.php:44
56
- #: includes/functions.php:116
57
- #: includes/functions.php:128
58
  msgid "Headings Typography"
59
  msgstr ""
60
 
61
- #: includes/functions.php:45
62
  msgid "Select and configure the font for your headings."
63
  msgstr ""
64
 
65
- #: includes/functions.php:50
66
  msgid "Buttons and Inputs Typography"
67
  msgstr ""
68
 
69
- #: includes/functions.php:51
70
  msgid "Select and configure the font for your input fields and buttons."
71
  msgstr ""
72
 
73
- #: includes/functions.php:56
74
  msgid "Site Title Typography"
75
  msgstr ""
76
 
77
- #: includes/functions.php:57
78
  msgid "Select and configure the font for your site title."
79
  msgstr ""
80
 
81
- #: includes/functions.php:62
82
  msgid "Site Description Typography"
83
  msgstr ""
84
 
85
- #: includes/functions.php:63
86
  msgid "Select and configure the font for your site description."
87
  msgstr ""
88
 
89
- #: includes/functions.php:68
90
  msgid "Navigation Typography"
91
  msgstr ""
92
 
93
- #: includes/functions.php:69
94
  msgid "Select and configure the font for your site navigation."
95
  msgstr ""
96
 
97
- #: includes/functions.php:74
98
- #: includes/functions.php:122
99
- #: includes/functions.php:136
100
  msgid "Content Typography"
101
  msgstr ""
102
 
103
- #: includes/functions.php:75
104
  msgid "Select and configure the font for your post and page content."
105
  msgstr ""
106
 
107
- #: includes/functions.php:80
108
  msgid "Title and H1 Typography"
109
  msgstr ""
110
 
111
- #: includes/functions.php:81
112
  msgid "Select and configure the font for your title and H1 headings."
113
  msgstr ""
114
 
115
- #: includes/functions.php:86
116
  msgid "H2 Typography"
117
  msgstr ""
118
 
119
- #: includes/functions.php:87
120
  msgid "Select and configure the font for your H2 headings."
121
  msgstr ""
122
 
123
- #: includes/functions.php:92
124
  msgid "H3 Typography"
125
  msgstr ""
126
 
127
- #: includes/functions.php:93
128
  msgid "Select and configure the font for your H3 headings."
129
  msgstr ""
130
 
131
- #: includes/functions.php:98
132
  msgid "H4 Typography"
133
  msgstr ""
134
 
135
- #: includes/functions.php:99
136
  msgid "Select and configure the font for your H4 headings."
137
  msgstr ""
138
 
139
- #: includes/functions.php:104
140
  msgid "H5 Typography"
141
  msgstr ""
142
 
143
- #: includes/functions.php:105
144
  msgid "Select and configure the font for your H5 headings."
145
  msgstr ""
146
 
147
- #: includes/functions.php:110
148
  msgid "H6 Typography"
149
  msgstr ""
150
 
151
- #: includes/functions.php:111
152
  msgid "Select and configure the font for your H6 headings."
153
  msgstr ""
154
 
155
- #: includes/functions.php:117
156
  msgid "Select and configure the font for your sidebar headings."
157
  msgstr ""
158
 
159
- #: includes/functions.php:123
160
  msgid "Select and configure the font for your sidebar content."
161
  msgstr ""
162
 
163
- #: includes/functions.php:129
164
  msgid "Select and configure the font for your footer headings."
165
  msgstr ""
166
 
167
- #: includes/functions.php:137
168
  msgid "Select and configure the font for your footer content."
169
  msgstr ""
170
 
171
- #: includes/functions.php:223
172
  msgid "Arial"
173
  msgstr ""
174
 
175
- #: includes/functions.php:228
176
  msgid "Calibri"
177
  msgstr ""
178
 
179
- #: includes/functions.php:233
180
  msgid "Century Gothic"
181
  msgstr ""
182
 
183
- #: includes/functions.php:238
184
  msgid "Consolas"
185
  msgstr ""
186
 
187
- #: includes/functions.php:243
188
  msgid "Courier New"
189
  msgstr ""
190
 
191
- #: includes/functions.php:248
192
  msgid "Helvetica Neue"
193
  msgstr ""
194
 
195
- #: includes/functions.php:253
196
  msgid "Georgia"
197
  msgstr ""
198
 
199
- #: includes/functions.php:258
200
  msgid "Futura"
201
  msgstr ""
202
 
203
- #: includes/functions.php:263
204
  msgid "Lucida Grande"
205
  msgstr ""
206
 
207
- #: includes/functions.php:268
208
  msgid "Segoe UI"
209
  msgstr ""
210
 
211
- #: includes/functions.php:273
212
  msgid "Tahoma"
213
  msgstr ""
214
 
215
- #: includes/functions.php:278
216
  msgid "Times New Roman"
217
  msgstr ""
218
 
219
- #: includes/functions.php:283
220
  msgid "Trebuchet MS"
221
  msgstr ""
222
 
223
- #: includes/functions.php:288
224
  msgid "Palatino"
225
  msgstr ""
226
 
227
- #: includes/functions.php:293
228
  msgid "Verdana"
229
  msgstr ""
230
 
231
- #: includes/functions.php:309
232
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:270
233
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:287
234
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:297
@@ -239,25 +239,25 @@ msgstr ""
239
  msgid "- Default -"
240
  msgstr ""
241
 
242
- #: includes/functions.php:310
243
  #: blocks/dist/blocks.build.js:1
244
  #: blocks/src/google-fonts/edit.js:149
245
  msgid "Thin"
246
  msgstr ""
247
 
248
- #: includes/functions.php:311
249
  #: blocks/dist/blocks.build.js:1
250
  #: blocks/src/google-fonts/edit.js:150
251
  msgid "Extra Light"
252
  msgstr ""
253
 
254
- #: includes/functions.php:312
255
  #: blocks/dist/blocks.build.js:1
256
  #: blocks/src/google-fonts/edit.js:151
257
  msgid "Light"
258
  msgstr ""
259
 
260
- #: includes/functions.php:313
261
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:298
262
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:310
263
  #: blocks/dist/blocks.build.js:1
@@ -265,70 +265,70 @@ msgstr ""
265
  msgid "Normal"
266
  msgstr ""
267
 
268
- #: includes/functions.php:314
269
  #: blocks/dist/blocks.build.js:1
270
  #: blocks/src/google-fonts/edit.js:153
271
  msgid "Medium"
272
  msgstr ""
273
 
274
- #: includes/functions.php:315
275
  #: blocks/dist/blocks.build.js:1
276
  #: blocks/src/google-fonts/edit.js:154
277
  msgid "Semi Bold"
278
  msgstr ""
279
 
280
- #: includes/functions.php:316
281
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:299
282
  #: blocks/dist/blocks.build.js:1
283
  #: blocks/src/google-fonts/edit.js:155
284
  msgid "Bold"
285
  msgstr ""
286
 
287
- #: includes/functions.php:317
288
  #: blocks/dist/blocks.build.js:1
289
  #: blocks/src/google-fonts/edit.js:156
290
  msgid "Extra Bold"
291
  msgstr ""
292
 
293
- #: includes/functions.php:318
294
  #: blocks/dist/blocks.build.js:1
295
  #: blocks/src/google-fonts/edit.js:157
296
  msgid "Ultra Bold"
297
  msgstr ""
298
 
299
- #: includes/functions.php:319
300
  msgid "Thin Italic"
301
  msgstr ""
302
 
303
- #: includes/functions.php:320
304
  msgid "Extra Light Italic"
305
  msgstr ""
306
 
307
- #: includes/functions.php:321
308
  msgid "Light Italic"
309
  msgstr ""
310
 
311
- #: includes/functions.php:322
312
  msgid "Normal Italic"
313
  msgstr ""
314
 
315
- #: includes/functions.php:323
316
  msgid "Medium Italic"
317
  msgstr ""
318
 
319
- #: includes/functions.php:324
320
  msgid "Semi Bold Italic"
321
  msgstr ""
322
 
323
- #: includes/functions.php:325
324
  msgid "Bold Italic"
325
  msgstr ""
326
 
327
- #: includes/functions.php:326
328
  msgid "Extra Bold Italic"
329
  msgstr ""
330
 
331
- #: includes/functions.php:327
332
  msgid "Ultra Bold Italic"
333
  msgstr ""
334
 
@@ -343,7 +343,7 @@ msgid "Reset All Fonts"
343
  msgstr ""
344
 
345
  #. translators: %s Link to Google Fonts customizer panel.
346
- #: includes/class-ogf-welcome.php:104
347
  msgid "Thank you for installing <strong>Google Fonts for WordPress</strong>! Configure your fonts here: <a href=\"%s\">WordPress Customizer</a>"
348
  msgstr ""
349
 
@@ -430,18 +430,18 @@ msgstr ""
430
  msgid "No thanks / I already have"
431
  msgstr ""
432
 
433
- #: includes/class-ogf-notifications.php:258
434
  msgid "Google Fonts for WordPress"
435
  msgstr ""
436
 
437
  #: includes/customizer/settings.php:38
438
- #: includes/customizer/panels.php:71
439
- #: includes/customizer/panels.php:101
440
  msgid "Custom Elements"
441
  msgstr ""
442
 
443
  #: includes/customizer/settings.php:56
444
- #: includes/customizer/panels.php:159
445
  msgid "Load Fonts Only"
446
  msgstr ""
447
 
@@ -481,87 +481,87 @@ msgstr ""
481
  msgid "Optional"
482
  msgstr ""
483
 
484
- #: includes/customizer/panels.php:41
485
  msgid "Theme Settings"
486
  msgstr ""
487
 
488
- #: includes/customizer/panels.php:50
489
  msgid "Basic Settings"
490
  msgstr ""
491
 
492
- #: includes/customizer/panels.php:60
493
  msgid "Advanced Settings"
494
  msgstr ""
495
 
496
  #. Translators: %s Custom Elements Customizer Panel URL
497
- #: includes/customizer/panels.php:74
498
  msgid "Define your Custom Elements here and then customize them under <a href=\"%s\">Advanced Settings &rarr; Custom Elements</a>."
499
  msgstr ""
500
 
501
- #: includes/customizer/panels.php:82
502
  msgid "Font Loading"
503
  msgstr ""
504
 
505
- #: includes/customizer/panels.php:92
506
  msgid "Debugging"
507
  msgstr ""
508
 
509
  #. Translators: %s Custom Elements Customizer Panel URL
510
- #: includes/customizer/panels.php:103
511
  msgid "Custom Elements allow you to apply Google Fonts to any part of your website, they can be setup under <a href=\"%s\">Google Fonts &rarr; Custom Elements</a>."
512
  msgstr ""
513
 
514
- #: includes/customizer/panels.php:111
515
  msgid "Theme Elements"
516
  msgstr ""
517
 
518
- #: includes/customizer/panels.php:119
519
  msgid "Branding"
520
  msgstr ""
521
 
522
- #: includes/customizer/panels.php:127
523
  msgid "Navigation"
524
  msgstr ""
525
 
526
- #: includes/customizer/panels.php:135
527
  msgid "Content"
528
  msgstr ""
529
 
530
- #: includes/customizer/panels.php:143
531
  msgid "Sidebar"
532
  msgstr ""
533
 
534
- #: includes/customizer/panels.php:151
535
  msgid "Footer"
536
  msgstr ""
537
 
538
- #: includes/customizer/controls/class-ogf-customize-repeater-control.php:83
539
  msgid "Add New"
540
  msgstr ""
541
 
542
- #: includes/customizer/controls/class-ogf-customize-repeater-control.php:86
543
  msgid "Save Elements"
544
  msgstr ""
545
 
546
- #: includes/customizer/controls/class-ogf-customize-repeater-control.php:134
547
- #: includes/customizer/controls/class-ogf-customize-repeater-control.php:140
548
  msgid "Label"
549
  msgstr ""
550
 
551
- #: includes/customizer/controls/class-ogf-customize-repeater-control.php:145
552
- #: includes/customizer/controls/class-ogf-customize-repeater-control.php:151
553
  msgid "Description"
554
  msgstr ""
555
 
556
- #: includes/customizer/controls/class-ogf-customize-repeater-control.php:156
557
  msgid "Selectors"
558
  msgstr ""
559
 
560
- #: includes/customizer/controls/class-ogf-customize-repeater-control.php:162
561
  msgid "Add your selectors..."
562
  msgstr ""
563
 
564
- #: includes/customizer/controls/class-ogf-customize-repeater-control.php:166
565
  msgid "Delete field"
566
  msgstr ""
567
 
@@ -659,8 +659,8 @@ msgstr ""
659
  msgid "Typography News"
660
  msgstr ""
661
 
662
- #: includes/class-ogf-dashboard-widget.php:71
663
- #: includes/class-ogf-dashboard-widget.php:97
664
  msgid "Temporarily unable to load feed."
665
  msgstr ""
666
 
@@ -733,7 +733,7 @@ msgstr ""
733
  msgid "Enable Kit"
734
  msgstr ""
735
 
736
- #: includes/class-ogf-fonts.php:114
737
  msgid "Font Missing"
738
  msgstr ""
739
 
2
  # This file is distributed under the same license as the Fonts Plugin | Google Fonts Typography plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Fonts Plugin | Google Fonts Typography 2.5.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/olympus-google-fonts\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2021-03-09T11:22:40+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.1.0\n"
15
  "X-Domain: olympus-google-fonts\n"
27
  msgstr ""
28
 
29
  #. Author of the plugin
30
+ #: includes/customizer/panels.php:31
31
  #: admin/class-ogf-welcome-screen.php:28
32
  msgid "Fonts Plugin"
33
  msgstr ""
36
  msgid "https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description"
37
  msgstr ""
38
 
39
+ #: class-olympus-google-fonts.php:151
40
  msgid "Settings"
41
  msgstr ""
42
 
43
+ #: class-olympus-google-fonts.php:157
44
  msgid "Upgrade to Pro"
45
  msgstr ""
46
 
47
+ #: includes/functions.php:35
48
  msgid "Base Typography"
49
  msgstr ""
50
 
51
+ #: includes/functions.php:36
52
  msgid "Select and configure the font for your content."
53
  msgstr ""
54
 
55
+ #: includes/functions.php:41
56
+ #: includes/functions.php:113
57
+ #: includes/functions.php:125
58
  msgid "Headings Typography"
59
  msgstr ""
60
 
61
+ #: includes/functions.php:42
62
  msgid "Select and configure the font for your headings."
63
  msgstr ""
64
 
65
+ #: includes/functions.php:47
66
  msgid "Buttons and Inputs Typography"
67
  msgstr ""
68
 
69
+ #: includes/functions.php:48
70
  msgid "Select and configure the font for your input fields and buttons."
71
  msgstr ""
72
 
73
+ #: includes/functions.php:53
74
  msgid "Site Title Typography"
75
  msgstr ""
76
 
77
+ #: includes/functions.php:54
78
  msgid "Select and configure the font for your site title."
79
  msgstr ""
80
 
81
+ #: includes/functions.php:59
82
  msgid "Site Description Typography"
83
  msgstr ""
84
 
85
+ #: includes/functions.php:60
86
  msgid "Select and configure the font for your site description."
87
  msgstr ""
88
 
89
+ #: includes/functions.php:65
90
  msgid "Navigation Typography"
91
  msgstr ""
92
 
93
+ #: includes/functions.php:66
94
  msgid "Select and configure the font for your site navigation."
95
  msgstr ""
96
 
97
+ #: includes/functions.php:71
98
+ #: includes/functions.php:119
99
+ #: includes/functions.php:133
100
  msgid "Content Typography"
101
  msgstr ""
102
 
103
+ #: includes/functions.php:72
104
  msgid "Select and configure the font for your post and page content."
105
  msgstr ""
106
 
107
+ #: includes/functions.php:77
108
  msgid "Title and H1 Typography"
109
  msgstr ""
110
 
111
+ #: includes/functions.php:78
112
  msgid "Select and configure the font for your title and H1 headings."
113
  msgstr ""
114
 
115
+ #: includes/functions.php:83
116
  msgid "H2 Typography"
117
  msgstr ""
118
 
119
+ #: includes/functions.php:84
120
  msgid "Select and configure the font for your H2 headings."
121
  msgstr ""
122
 
123
+ #: includes/functions.php:89
124
  msgid "H3 Typography"
125
  msgstr ""
126
 
127
+ #: includes/functions.php:90
128
  msgid "Select and configure the font for your H3 headings."
129
  msgstr ""
130
 
131
+ #: includes/functions.php:95
132
  msgid "H4 Typography"
133
  msgstr ""
134
 
135
+ #: includes/functions.php:96
136
  msgid "Select and configure the font for your H4 headings."
137
  msgstr ""
138
 
139
+ #: includes/functions.php:101
140
  msgid "H5 Typography"
141
  msgstr ""
142
 
143
+ #: includes/functions.php:102
144
  msgid "Select and configure the font for your H5 headings."
145
  msgstr ""
146
 
147
+ #: includes/functions.php:107
148
  msgid "H6 Typography"
149
  msgstr ""
150
 
151
+ #: includes/functions.php:108
152
  msgid "Select and configure the font for your H6 headings."
153
  msgstr ""
154
 
155
+ #: includes/functions.php:114
156
  msgid "Select and configure the font for your sidebar headings."
157
  msgstr ""
158
 
159
+ #: includes/functions.php:120
160
  msgid "Select and configure the font for your sidebar content."
161
  msgstr ""
162
 
163
+ #: includes/functions.php:126
164
  msgid "Select and configure the font for your footer headings."
165
  msgstr ""
166
 
167
+ #: includes/functions.php:134
168
  msgid "Select and configure the font for your footer content."
169
  msgstr ""
170
 
171
+ #: includes/functions.php:218
172
  msgid "Arial"
173
  msgstr ""
174
 
175
+ #: includes/functions.php:223
176
  msgid "Calibri"
177
  msgstr ""
178
 
179
+ #: includes/functions.php:228
180
  msgid "Century Gothic"
181
  msgstr ""
182
 
183
+ #: includes/functions.php:233
184
  msgid "Consolas"
185
  msgstr ""
186
 
187
+ #: includes/functions.php:238
188
  msgid "Courier New"
189
  msgstr ""
190
 
191
+ #: includes/functions.php:243
192
  msgid "Helvetica Neue"
193
  msgstr ""
194
 
195
+ #: includes/functions.php:248
196
  msgid "Georgia"
197
  msgstr ""
198
 
199
+ #: includes/functions.php:253
200
  msgid "Futura"
201
  msgstr ""
202
 
203
+ #: includes/functions.php:258
204
  msgid "Lucida Grande"
205
  msgstr ""
206
 
207
+ #: includes/functions.php:263
208
  msgid "Segoe UI"
209
  msgstr ""
210
 
211
+ #: includes/functions.php:268
212
  msgid "Tahoma"
213
  msgstr ""
214
 
215
+ #: includes/functions.php:273
216
  msgid "Times New Roman"
217
  msgstr ""
218
 
219
+ #: includes/functions.php:278
220
  msgid "Trebuchet MS"
221
  msgstr ""
222
 
223
+ #: includes/functions.php:283
224
  msgid "Palatino"
225
  msgstr ""
226
 
227
+ #: includes/functions.php:288
228
  msgid "Verdana"
229
  msgstr ""
230
 
231
+ #: includes/functions.php:303
232
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:270
233
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:287
234
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:297
239
  msgid "- Default -"
240
  msgstr ""
241
 
242
+ #: includes/functions.php:304
243
  #: blocks/dist/blocks.build.js:1
244
  #: blocks/src/google-fonts/edit.js:149
245
  msgid "Thin"
246
  msgstr ""
247
 
248
+ #: includes/functions.php:305
249
  #: blocks/dist/blocks.build.js:1
250
  #: blocks/src/google-fonts/edit.js:150
251
  msgid "Extra Light"
252
  msgstr ""
253
 
254
+ #: includes/functions.php:306
255
  #: blocks/dist/blocks.build.js:1
256
  #: blocks/src/google-fonts/edit.js:151
257
  msgid "Light"
258
  msgstr ""
259
 
260
+ #: includes/functions.php:307
261
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:298
262
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:310
263
  #: blocks/dist/blocks.build.js:1
265
  msgid "Normal"
266
  msgstr ""
267
 
268
+ #: includes/functions.php:308
269
  #: blocks/dist/blocks.build.js:1
270
  #: blocks/src/google-fonts/edit.js:153
271
  msgid "Medium"
272
  msgstr ""
273
 
274
+ #: includes/functions.php:309
275
  #: blocks/dist/blocks.build.js:1
276
  #: blocks/src/google-fonts/edit.js:154
277
  msgid "Semi Bold"
278
  msgstr ""
279
 
280
+ #: includes/functions.php:310
281
  #: includes/customizer/controls/class-ogf-customize-typography-control.php:299
282
  #: blocks/dist/blocks.build.js:1
283
  #: blocks/src/google-fonts/edit.js:155
284
  msgid "Bold"
285
  msgstr ""
286
 
287
+ #: includes/functions.php:311
288
  #: blocks/dist/blocks.build.js:1
289
  #: blocks/src/google-fonts/edit.js:156
290
  msgid "Extra Bold"
291
  msgstr ""
292
 
293
+ #: includes/functions.php:312
294
  #: blocks/dist/blocks.build.js:1
295
  #: blocks/src/google-fonts/edit.js:157
296
  msgid "Ultra Bold"
297
  msgstr ""
298
 
299
+ #: includes/functions.php:313
300
  msgid "Thin Italic"
301
  msgstr ""
302
 
303
+ #: includes/functions.php:314
304
  msgid "Extra Light Italic"
305
  msgstr ""
306
 
307
+ #: includes/functions.php:315
308
  msgid "Light Italic"
309
  msgstr ""
310
 
311
+ #: includes/functions.php:316
312
  msgid "Normal Italic"
313
  msgstr ""
314
 
315
+ #: includes/functions.php:317
316
  msgid "Medium Italic"
317
  msgstr ""
318
 
319
+ #: includes/functions.php:318
320
  msgid "Semi Bold Italic"
321
  msgstr ""
322
 
323
+ #: includes/functions.php:319
324
  msgid "Bold Italic"
325
  msgstr ""
326
 
327
+ #: includes/functions.php:320
328
  msgid "Extra Bold Italic"
329
  msgstr ""
330
 
331
+ #: includes/functions.php:321
332
  msgid "Ultra Bold Italic"
333
  msgstr ""
334
 
343
  msgstr ""
344
 
345
  #. translators: %s Link to Google Fonts customizer panel.
346
+ #: includes/class-ogf-welcome.php:102
347
  msgid "Thank you for installing <strong>Google Fonts for WordPress</strong>! Configure your fonts here: <a href=\"%s\">WordPress Customizer</a>"
348
  msgstr ""
349
 
430
  msgid "No thanks / I already have"
431
  msgstr ""
432
 
433
+ #: includes/class-ogf-notifications.php:257
434
  msgid "Google Fonts for WordPress"
435
  msgstr ""
436
 
437
  #: includes/customizer/settings.php:38
438
+ #: includes/customizer/panels.php:70
439
+ #: includes/customizer/panels.php:100
440
  msgid "Custom Elements"
441
  msgstr ""
442
 
443
  #: includes/customizer/settings.php:56
444
+ #: includes/customizer/panels.php:158
445
  msgid "Load Fonts Only"
446
  msgstr ""
447
 
481
  msgid "Optional"
482
  msgstr ""
483
 
484
+ #: includes/customizer/panels.php:40
485
  msgid "Theme Settings"
486
  msgstr ""
487
 
488
+ #: includes/customizer/panels.php:49
489
  msgid "Basic Settings"
490
  msgstr ""
491
 
492
+ #: includes/customizer/panels.php:59
493
  msgid "Advanced Settings"
494
  msgstr ""
495
 
496
  #. Translators: %s Custom Elements Customizer Panel URL
497
+ #: includes/customizer/panels.php:73
498
  msgid "Define your Custom Elements here and then customize them under <a href=\"%s\">Advanced Settings &rarr; Custom Elements</a>."
499
  msgstr ""
500
 
501
+ #: includes/customizer/panels.php:81
502
  msgid "Font Loading"
503
  msgstr ""
504
 
505
+ #: includes/customizer/panels.php:91
506
  msgid "Debugging"
507
  msgstr ""
508
 
509
  #. Translators: %s Custom Elements Customizer Panel URL
510
+ #: includes/customizer/panels.php:102
511
  msgid "Custom Elements allow you to apply Google Fonts to any part of your website, they can be setup under <a href=\"%s\">Google Fonts &rarr; Custom Elements</a>."
512
  msgstr ""
513
 
514
+ #: includes/customizer/panels.php:110
515
  msgid "Theme Elements"
516
  msgstr ""
517
 
518
+ #: includes/customizer/panels.php:118
519
  msgid "Branding"
520
  msgstr ""
521
 
522
+ #: includes/customizer/panels.php:126
523
  msgid "Navigation"
524
  msgstr ""
525
 
526
+ #: includes/customizer/panels.php:134
527
  msgid "Content"
528
  msgstr ""
529
 
530
+ #: includes/customizer/panels.php:142
531
  msgid "Sidebar"
532
  msgstr ""
533
 
534
+ #: includes/customizer/panels.php:150
535
  msgid "Footer"
536
  msgstr ""
537
 
538
+ #: includes/customizer/controls/class-ogf-customize-repeater-control.php:82
539
  msgid "Add New"
540
  msgstr ""
541
 
542
+ #: includes/customizer/controls/class-ogf-customize-repeater-control.php:85
543
  msgid "Save Elements"
544
  msgstr ""
545
 
546
+ #: includes/customizer/controls/class-ogf-customize-repeater-control.php:132
547
+ #: includes/customizer/controls/class-ogf-customize-repeater-control.php:138
548
  msgid "Label"
549
  msgstr ""
550
 
551
+ #: includes/customizer/controls/class-ogf-customize-repeater-control.php:143
552
+ #: includes/customizer/controls/class-ogf-customize-repeater-control.php:149
553
  msgid "Description"
554
  msgstr ""
555
 
556
+ #: includes/customizer/controls/class-ogf-customize-repeater-control.php:154
557
  msgid "Selectors"
558
  msgstr ""
559
 
560
+ #: includes/customizer/controls/class-ogf-customize-repeater-control.php:160
561
  msgid "Add your selectors..."
562
  msgstr ""
563
 
564
+ #: includes/customizer/controls/class-ogf-customize-repeater-control.php:164
565
  msgid "Delete field"
566
  msgstr ""
567
 
659
  msgid "Typography News"
660
  msgstr ""
661
 
662
+ #: includes/class-ogf-dashboard-widget.php:70
663
+ #: includes/class-ogf-dashboard-widget.php:96
664
  msgid "Temporarily unable to load feed."
665
  msgstr ""
666
 
733
  msgid "Enable Kit"
734
  msgstr ""
735
 
736
+ #: includes/class-ogf-fonts.php:105
737
  msgid "Font Missing"
738
  msgstr ""
739
 
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. 1000+ font choices.
8
- * Version: 2.5.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,7 +19,7 @@
19
  */
20
 
21
  if ( ! defined( 'OGF_VERSION' ) ) {
22
- define( 'OGF_VERSION', '2.5.4' );
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. 1000+ font choices.
8
+ * Version: 2.5.5
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.5.5' );
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.7
7
  License: GPLv2 or later
8
- Stable tag: 2.5.4
9
 
10
  The easiest to use Google Fonts Typography Plugin. No coding required. 1000+ font choices.
11
 
5
  Requires at least: 4.0
6
  Tested up to: 5.7
7
  License: GPLv2 or later
8
+ Stable tag: 2.5.5
9
 
10
  The easiest to use Google Fonts Typography Plugin. No coding required. 1000+ font choices.
11