Version Description
Download this release
Release Info
Developer | Nikschavan |
Plugin | Custom Adobe Fonts (Typekit) |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.7
- classes/class-custom-typekit-fonts-render.php +3 -1
- custom-typekit-fonts.php +2 -2
- readme.txt +5 -2
classes/class-custom-typekit-fonts-render.php
CHANGED
@@ -49,7 +49,7 @@ if ( ! class_exists( 'Custom_Typekit_Fonts_Render' ) ) :
|
|
49 |
*/
|
50 |
public static function get_instance() {
|
51 |
if ( ! isset( self::$_instance ) ) {
|
52 |
-
self::$_instance = new self;
|
53 |
}
|
54 |
|
55 |
return self::$_instance;
|
@@ -73,6 +73,8 @@ if ( ! class_exists( 'Custom_Typekit_Fonts_Render' ) ) :
|
|
73 |
// Elementor page builder.
|
74 |
add_filter( 'elementor/fonts/groups', array( $this, 'elementor_group' ) );
|
75 |
add_filter( 'elementor/fonts/additional_fonts', array( $this, 'add_elementor_fonts' ) );
|
|
|
|
|
76 |
}
|
77 |
|
78 |
/**
|
49 |
*/
|
50 |
public static function get_instance() {
|
51 |
if ( ! isset( self::$_instance ) ) {
|
52 |
+
self::$_instance = new self();
|
53 |
}
|
54 |
|
55 |
return self::$_instance;
|
73 |
// Elementor page builder.
|
74 |
add_filter( 'elementor/fonts/groups', array( $this, 'elementor_group' ) );
|
75 |
add_filter( 'elementor/fonts/additional_fonts', array( $this, 'add_elementor_fonts' ) );
|
76 |
+
|
77 |
+
add_action( 'enqueue_block_editor_assets', array( $this, 'typekit_embed_head' ) );
|
78 |
}
|
79 |
|
80 |
/**
|
custom-typekit-fonts.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: Brainstorm Force
|
7 |
* Author URI: http://www.brainstormforce.com
|
8 |
* Text Domain: custom-typekit-fonts
|
9 |
-
* Version: 1.0.
|
10 |
*
|
11 |
* @package Typekit_Custom_Fonts
|
12 |
*/
|
@@ -25,7 +25,7 @@ define( 'CUSTOM_TYPEKIT_FONTS_FILE', __FILE__ );
|
|
25 |
define( 'CUSTOM_TYPEKIT_FONTS_BASE', plugin_basename( CUSTOM_TYPEKIT_FONTS_FILE ) );
|
26 |
define( 'CUSTOM_TYPEKIT_FONTS_DIR', plugin_dir_path( CUSTOM_TYPEKIT_FONTS_FILE ) );
|
27 |
define( 'CUSTOM_TYPEKIT_FONTS_URI', plugins_url( '/', CUSTOM_TYPEKIT_FONTS_FILE ) );
|
28 |
-
define( 'CUSTOM_TYPEKIT_FONTS_VER', '1.0.
|
29 |
/**
|
30 |
* BSF Custom Fonts
|
31 |
*/
|
6 |
* Author: Brainstorm Force
|
7 |
* Author URI: http://www.brainstormforce.com
|
8 |
* Text Domain: custom-typekit-fonts
|
9 |
+
* Version: 1.0.7
|
10 |
*
|
11 |
* @package Typekit_Custom_Fonts
|
12 |
*/
|
25 |
define( 'CUSTOM_TYPEKIT_FONTS_BASE', plugin_basename( CUSTOM_TYPEKIT_FONTS_FILE ) );
|
26 |
define( 'CUSTOM_TYPEKIT_FONTS_DIR', plugin_dir_path( CUSTOM_TYPEKIT_FONTS_FILE ) );
|
27 |
define( 'CUSTOM_TYPEKIT_FONTS_URI', plugins_url( '/', CUSTOM_TYPEKIT_FONTS_FILE ) );
|
28 |
+
define( 'CUSTOM_TYPEKIT_FONTS_VER', '1.0.7' );
|
29 |
/**
|
30 |
* BSF Custom Fonts
|
31 |
*/
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: brainstormforce, rushijagani
|
|
3 |
Donate link: https://wpastra.com/
|
4 |
Tags: custom typekit fonts, theme custom fonts, unlimited typekit custom fonts
|
5 |
Requires at least: 4.4
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -49,6 +49,9 @@ If you're not using any of the supported plugins and theme, you can write the cu
|
|
49 |
|
50 |
== Changelog ==
|
51 |
|
|
|
|
|
|
|
52 |
v1.0.6
|
53 |
* Fixed: Update font name to correct font family to be rendered correctly for all the fonts.
|
54 |
* Fixed: Typekit fonts not rendered ccorrectly in Beaver Builder and Elementor settings.
|
3 |
Donate link: https://wpastra.com/
|
4 |
Tags: custom typekit fonts, theme custom fonts, unlimited typekit custom fonts
|
5 |
Requires at least: 4.4
|
6 |
+
Tested up to: 5.0
|
7 |
+
Stable tag: 1.0.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
49 |
|
50 |
== Changelog ==
|
51 |
|
52 |
+
v1.0.7
|
53 |
+
* Improvement: Enqueue typekit fonts in the block editor.
|
54 |
+
|
55 |
v1.0.6
|
56 |
* Fixed: Update font name to correct font family to be rendered correctly for all the fonts.
|
57 |
* Fixed: Typekit fonts not rendered ccorrectly in Beaver Builder and Elementor settings.
|