From: Laury GvR Date: Thu, 22 Jan 2015 21:55:30 +0000 (-0500) Subject: Default header for pages without featured image X-Git-Tag: v1.0.0~45 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=61b57dfda56383c61a08cd1f195d80eb1cc0beaa;p=WP-Themes%2FRecycleEmmet.git Default header for pages without featured image --- diff --git a/page.php b/page.php index 7accc37..a4580d2 100755 --- a/page.php +++ b/page.php @@ -8,7 +8,7 @@ echo ' style="background: url('.$image_data[0].'); height: '.$image_data[2].'px;max-height: 200px; background-size: cover; "'; } else { - echo ' style="background: url("http://dev.www.emmetcounty.org/recycling/wp-content/uploads/sites/4/2015/01/beach-small-header.jpg") repeat scroll 0 0 / cover rgba(0, 0, 0, 0); max-height:200px;"'; + echo ' style="background: url("../assets/default-header.jpg") repeat scroll 0 0 / cover rgba(0, 0, 0, 0); max-height:200px;"'; } ?> >