From: Steve Sutton Date: Wed, 28 Oct 2015 19:59:27 +0000 (-0400) Subject: Update for no default image X-Git-Tag: v1.0.0^2~106 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=68aad0b6f3c942b662cd5325122fd90b3ba5e788;p=WP-Themes%2Fbpla.git Update for no default image --- diff --git a/functions.php b/functions.php index f351072..85b142b 100644 --- a/functions.php +++ b/functions.php @@ -210,7 +210,7 @@ set_post_thumbnail_size(120, 100, true); */ function glm_site_scripts() { - + wp_enqueue_script('jquery-ui-datepicker'); wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css'); @@ -237,9 +237,9 @@ function glm_site_scripts() function glm_get_background() { if (has_post_thumbnail()) { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full"); - $imageUrl = ''; + $imageUrl = ''; } else { - $imageUrl = ''; + $imageUrl = ''; } return $imageUrl; }