cache busting the theme style.css
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 7 Sep 2018 13:27:19 +0000 (09:27 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 7 Sep 2018 13:27:19 +0000 (09:27 -0400)
functions.php

index cc35150..2fdec0e 100644 (file)
@@ -175,7 +175,7 @@ function accesspress_parallax_scripts() {
        wp_enqueue_style( 'animate', get_template_directory_uri() . '/css/animate.css' );
        wp_enqueue_style( 'slick', get_template_directory_uri() . '/css/slick.css' );
     wp_enqueue_style('accesspress-parallax-woocommerce',get_template_directory_uri().'/woocommerce/ap-parallax-style.css');
-       wp_enqueue_style( 'accesspress-parallax-style', get_stylesheet_uri() );
+       wp_enqueue_style( 'accesspress-parallax-style', get_template_directory_uri() ."/style.css?v=1.0.3" );
        wp_enqueue_style( 'accesspress-parallax-responsive', get_template_directory_uri() . '/css/responsive.css' );
 
        if (of_get_option('enable_animation') == '1' && is_front_page()) :