Version Description
Download this release
Release Info
Developer | DannyCooper |
Plugin | Google Fonts for WordPress |
Version | 3.0.11 |
Comparing to | |
See all releases |
Code changes from version 3.0.9 to 3.0.11
- changelog.txt +4 -0
- class-olympus-google-fonts.php +1 -1
- compatibility/edgethemes.php +27 -0
- olympus-google-fonts.php +1 -1
- readme.txt +1 -1
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 3.0.9 =
|
2 |
|
3 |
* Update fonts list
|
1 |
+
= 3.0.11 =
|
2 |
+
|
3 |
+
* Add compatibility pack for Edge Themes / Qode Framework
|
4 |
+
|
5 |
= 3.0.9 =
|
6 |
|
7 |
* Update fonts list
|
class-olympus-google-fonts.php
CHANGED
@@ -39,7 +39,7 @@ class Olympus_Google_Fonts {
|
|
39 |
*/
|
40 |
public function constants() {
|
41 |
if ( ! defined( 'OGF_VERSION' ) ) {
|
42 |
-
define( 'OGF_VERSION', '3.0.
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'OGF_DIR_PATH' ) ) {
|
39 |
*/
|
40 |
public function constants() {
|
41 |
if ( ! defined( 'OGF_VERSION' ) ) {
|
42 |
+
define( 'OGF_VERSION', '3.0.11' );
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'OGF_DIR_PATH' ) ) {
|
compatibility/edgethemes.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Compatibility file for Edge Themes.
|
4 |
+
*
|
5 |
+
* @package olympus-google-fonts
|
6 |
+
* @copyright Copyright (c) 2020, Fonts Plugin
|
7 |
+
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
8 |
+
*/
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Modify the default element selectors to improve compatibility with Edge Themes.
|
12 |
+
*
|
13 |
+
* @param array $elements The default elements.
|
14 |
+
*/
|
15 |
+
function ogf_edgethemes_elements( $elements ) {
|
16 |
+
$elements['ogf_body']['selectors'] = '#qodef-page-wrapper, body, #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'] = '#qodef-page-content, #qodef-page-content p, .entry-content, .entry-content p, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .excerpt, .excerpt p, .type-post p, .type-page p';
|
18 |
+
$elements['ogf_post_page_h1']['selectors'] = '#qodef-page-content h1, .entry-title, .entry-title a, .post-title, .post-title a, .page-title, .entry-content h1, #content h1, .type-post h1, .type-page h1';
|
19 |
+
$elements['ogf_post_page_h2']['selectors'] = '#qodef-page-content h2, .entry-content h2, .post-content h2, .page-content h2, #content h2, .type-post h2, .type-page h2';
|
20 |
+
$elements['ogf_post_page_h3']['selectors'] = '#qodef-page-content h3, .entry-content h3, .post-content h3, .page-content h3, #content h3, .type-post h3, .type-page h3';
|
21 |
+
$elements['ogf_post_page_h4']['selectors'] = '#qodef-page-content h4, .entry-content h4, .post-content h4, .page-content h4, #content h4, .type-post h4, .type-page h4';
|
22 |
+
$elements['ogf_post_page_h5']['selectors'] = '#qodef-page-content h5, .entry-content h5, .post-content h5, .page-content h5, #content h5, .type-post h5, .type-page h5';
|
23 |
+
$elements['ogf_post_page_h6']['selectors'] = '#qodef-page-content h6, .entry-content h6, .post-content h6, .page-content h6, #content h6, .type-post h6, .type-page h6';
|
24 |
+
|
25 |
+
return $elements;
|
26 |
+
}
|
27 |
+
add_filter( 'ogf_elements', 'ogf_edgethemes_elements' );
|
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 Plugin. No coding required. Optimized for Speed. 1000+ font choices.
|
8 |
-
* Version: 3.0.
|
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
|
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 Plugin. No coding required. Optimized for Speed. 1000+ font choices.
|
8 |
+
* Version: 3.0.11
|
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
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://fontsplugin.com/#pricing
|
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.8
|
7 |
License: GPLv2 or later
|
8 |
-
Stable tag: 3.0.
|
9 |
|
10 |
The easiest to use Google Fonts Plugin. No coding required. Optimized for Speed. 1000+ font choices.
|
11 |
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.8
|
7 |
License: GPLv2 or later
|
8 |
+
Stable tag: 3.0.11
|
9 |
|
10 |
The easiest to use Google Fonts Plugin. No coding required. Optimized for Speed. 1000+ font choices.
|
11 |
|