Anton | натяжка страницы test1
This commit is contained in:
@@ -266,10 +266,10 @@ function water_delivery_fonts_url() {
|
||||
/**
|
||||
* Enqueue scripts and styles.
|
||||
*/
|
||||
function water_delivery_scripts() {
|
||||
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
||||
$fonts_url = water_delivery_fonts_url();
|
||||
$primary_color = water_delivery_get_option( 'primary_color' );
|
||||
function water_delivery_scripts() {
|
||||
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
||||
$fonts_url = water_delivery_fonts_url();
|
||||
$primary_color = water_delivery_get_option( 'primary_color' );
|
||||
if ( ! empty( $fonts_url ) ) {
|
||||
wp_enqueue_style( 'water-delivery-google-fonts', $fonts_url, array(), null );
|
||||
}
|
||||
@@ -297,12 +297,12 @@ function water_delivery_scripts() {
|
||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||
wp_enqueue_script( 'comment-reply' );
|
||||
}
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'water_delivery_scripts' );
|
||||
|
||||
/**
|
||||
* Enqueue editor styles for Gutenberg
|
||||
*
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'water_delivery_scripts' );
|
||||
|
||||
/**
|
||||
* Enqueue editor styles for Gutenberg
|
||||
*
|
||||
* @since Water Delivery 1.0.0
|
||||
*/
|
||||
function water_delivery_block_editor_styles() {
|
||||
|
||||
Reference in New Issue
Block a user