From 15c8bb64d8805b8e743b768a2b6bfdee7f7b3a60 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 7 Mar 2018 11:38:13 -0500 Subject: [PATCH] Add cache control variable to default header image --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 7fb5f80..4526308 100644 --- a/functions.php +++ b/functions.php @@ -122,7 +122,7 @@ function glm_get_header() { echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:30%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px; "'; echo ' class="featured-image no-featured"'; } else { - echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.jpg);height:0;padding:0;padding-bottom:30%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"'; + echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.jpg?v=1.0);height:0;padding:0;padding-bottom:30%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"'; echo ' class="featured-image no-featured"'; } echo '>'; -- 2.17.1