✨feature: Add Poppins font, theme screenshot
Sync TODOs with Issues / sync_todos (push) Successful in 6s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
This commit is contained in:
@@ -5,6 +5,7 @@ node_modules
|
|||||||
static/dist/
|
static/dist/
|
||||||
.env
|
.env
|
||||||
bak/
|
bak/
|
||||||
|
notes/
|
||||||
testimonials.class.php
|
testimonials.class.php
|
||||||
resource-filter/
|
resource-filter/
|
||||||
phpcs-results.txt
|
phpcs-results.txt
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class Enqueue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$font_ver = gmdate( 'U' );
|
$font_ver = gmdate( 'U' );
|
||||||
wp_enqueue_style( 'raleway', 'https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap', false, $font_ver );
|
wp_enqueue_style( 'poppins', 'https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap', false, $font_ver );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JS
|
* JS
|
||||||
@@ -66,7 +66,7 @@ class Enqueue {
|
|||||||
$theme_uri = get_stylesheet_directory_uri();
|
$theme_uri = get_stylesheet_directory_uri();
|
||||||
|
|
||||||
$font_ver = gmdate( 'U' );
|
$font_ver = gmdate( 'U' );
|
||||||
wp_enqueue_style( 'raleway', 'https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap', false, $font_ver );
|
wp_enqueue_style( 'poppins', 'https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap', false, $font_ver );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin CSS
|
* Admin CSS
|
||||||
@@ -99,7 +99,7 @@ class Enqueue {
|
|||||||
$editor_css_path = '/styles/backend/editor.css';
|
$editor_css_path = '/styles/backend/editor.css';
|
||||||
|
|
||||||
$font_ver = gmdate( 'U' );
|
$font_ver = gmdate( 'U' );
|
||||||
wp_enqueue_style( 'raleway', 'https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap', false, $font_ver );
|
wp_enqueue_style( 'poppins', 'https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap', false, $font_ver );
|
||||||
|
|
||||||
if ( file_exists( $theme_dir . $editor_css_path ) ) {
|
if ( file_exists( $theme_dir . $editor_css_path ) ) {
|
||||||
$version = filemtime( $theme_dir . $editor_css_path );
|
$version = filemtime( $theme_dir . $editor_css_path );
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 1.8 MiB |
Reference in New Issue
Block a user