From: Laury GvR Date: Wed, 7 Mar 2018 16:38:13 +0000 (-0500) Subject: Add cache control variable to default header image X-Git-Tag: v1.0.0^2~39 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=15c8bb64d8805b8e743b768a2b6bfdee7f7b3a60;p=WP-Themes%2Fvisitbenzie.git Add cache control variable to default header image --- 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 '>';