From 29c276e863fbd59ff28833bb574348219ce6d97e Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Thu, 3 Apr 2025 11:40:38 +0300 Subject: [PATCH] single product image size version --- themes/oont-themev2/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/oont-themev2/functions.php b/themes/oont-themev2/functions.php index f67c41a5c..2f19c14a7 100644 --- a/themes/oont-themev2/functions.php +++ b/themes/oont-themev2/functions.php @@ -254,7 +254,7 @@ add_shortcode('product_image_slider', 'product_image_slider_shortcode'); function enqueue_slider_assets() { - wp_enqueue_style('product-slider-style', get_stylesheet_directory_uri() . '/assets/css/product-slider.css'); - wp_enqueue_script('product-slider-script', get_stylesheet_directory_uri() . '/assets/js/product-slider.js', ['jquery'], null, true); + wp_enqueue_style('product-slider-style', get_stylesheet_directory_uri() . '/assets/css/product-slider.css',[], CHILD_THEME_OONT_THEME_VERSION); + wp_enqueue_script('product-slider-script', get_stylesheet_directory_uri() . '/assets/js/product-slider.js', ['jquery'], CHILD_THEME_OONT_THEME_VERSION, true); } add_action('wp_enqueue_scripts', 'enqueue_slider_assets');