From: Laury GvR Date: Mon, 26 Feb 2018 13:47:04 +0000 (-0500) Subject: Default member image is now default site image X-Git-Tag: v1.0.11^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=f712b65f582c333a5d21be5c77491a0232dd650c;p=WP-Themes%2Fwmta.git Default member image is now default site image Jodie did not want to see the greyscale 'hero header' image anywhere on the website anymore, and for us to use the image used by default for members. --- diff --git a/functions.php b/functions.php index a4ac536..33f1929 100644 --- a/functions.php +++ b/functions.php @@ -262,8 +262,8 @@ function wmta_scripts() { wp_enqueue_script( 'wmta-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true ); - wp_enqueue_script( 'glm-dev', get_template_directory_uri() . '/assets/javascript/glm-dev.js', array(), '1.0.9.0', true ); - wp_enqueue_style( 'glm-style', get_template_directory_uri() . '/assets/stylesheets/glm-dev.css', false, "1.0.9.0" ); + wp_enqueue_script( 'glm-dev', get_template_directory_uri() . '/assets/javascript/glm-dev.js', array(), '1.0.11.0', true ); + wp_enqueue_style( 'glm-style', get_template_directory_uri() . '/assets/stylesheets/glm-dev.css', false, "1.0.11.0" ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); diff --git a/inc/hero-header-news-single.php b/inc/hero-header-news-single.php index 48cc1dd..cb08715 100644 --- a/inc/hero-header-news-single.php +++ b/inc/hero-header-news-single.php @@ -6,7 +6,7 @@ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); echo ' style="background-image: url('.$image[0].');"' ; } else { - echo ' style="background-image: url('.get_stylesheet_directory_uri().'/img/hero-news.jpg);margin:0;"'; + echo ''; } ?>> diff --git a/inc/hero-header-news.php b/inc/hero-header-news.php index d4ff28c..1c1572c 100644 --- a/inc/hero-header-news.php +++ b/inc/hero-header-news.php @@ -8,16 +8,16 @@ if ($image_data) { echo '' ; } else { - echo ''; + echo ''; } } else { - echo ''; + echo ''; } } else if ( "post" == get_post_type() && has_post_thumbnail(34) ) { $image = wp_get_attachment_image_src( get_post_thumbnail_id(34), 'single-post-thumbnail' ); echo '' ; } else { - echo '' ; + echo ''; } ?> diff --git a/style.css b/style.css index 8611dc0..fb3b7a4 100644 --- a/style.css +++ b/style.css @@ -4,7 +4,7 @@ Theme URI: http://underscores.me/ Author: Underscores.me Author URI: http://underscores.me/ Description: Description -Version: 1.0.9 +Version: 1.0.11 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: wmta