diff --git a/themes/oont-themev2/functions.php b/themes/oont-themev2/functions.php index 40046d010..d9aefcd48 100644 --- a/themes/oont-themev2/functions.php +++ b/themes/oont-themev2/functions.php @@ -255,6 +255,6 @@ 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',[], CHILD_THEME_OONT_THEME_VERSION, 'all'); - wp_enqueue_script('product-slider-script', get_stylesheet_directory_uri() . '/assets/js/product-slider.js', ['jquery'], CHILD_THEME_OONT_THEME_VERSION, true); + wp_enqueue_script('product-slider-script', get_stylesheet_directory_uri() . '/assets/js/product-slider.js', ['jquery'], null, true); } add_action('wp_enqueue_scripts', 'enqueue_slider_assets');