Anton | натяжка страницы test1

This commit is contained in:
2026-04-01 23:42:02 +03:00
parent a766acdc90
commit 0d65ded3cf
6 changed files with 2538 additions and 10 deletions

View File

@@ -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() {