From: Laury GvR Date: Tue, 21 Aug 2018 13:45:10 +0000 (-0400) Subject: Cache busting js and css X-Git-Tag: v1.0.24~1^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=767c0a13199a18ff02a9060db61b63612d17ae2d;p=WP-Themes%2Fgaylordmichigan.git Cache busting js and css --- diff --git a/functions.php b/functions.php index 8e1879e..e8b8e32 100644 --- a/functions.php +++ b/functions.php @@ -72,7 +72,7 @@ function glm_site_scripts() wp_enqueue_script('jquery-ui-datepicker'); wp_enqueue_script( 'glm_foundation', - get_template_directory_uri() . '/js/app.js', + get_template_directory_uri() . '/js/app.js?v=1.0.0', 'jquery', '1.1.7', true diff --git a/header.php b/header.php index 2b3d48f..a98e11f 100644 --- a/header.php +++ b/header.php @@ -6,7 +6,7 @@ <?php wp_title(); ?> - +