From: Steve Sutton Date: Thu, 17 Sep 2015 21:09:45 +0000 (-0400) Subject: Update block image size X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=22ef61e0c9c2d88649a3827b7bd8ff769a44bc9c;p=WP-Themes%2Fglmthemes%2Fmountpleasant-theme.git Update block image size Setting for 300 x 230 --- diff --git a/functions.php b/functions.php index 3936cd7..4b43917 100644 --- a/functions.php +++ b/functions.php @@ -267,6 +267,7 @@ function glm_offcanvas_menu() add_theme_support('post-thumbnails'); set_post_thumbnail_size(120, 100, true); add_image_size('blog-feed-front', 320, 259, true); +add_image_size('glm-blocks', 300, 230, true); /** * glm_site_scripts diff --git a/parts/glm-blocks.php b/parts/glm-blocks.php index 573dc58..86aea79 100644 --- a/parts/glm-blocks.php +++ b/parts/glm-blocks.php @@ -6,7 +6,7 @@ url):?> externalUrl){echo ' target="_blank"';}?>> - thumbnail;?> + ID, 'glm-blocks'); echo $thumb; ?> url):?> @@ -21,7 +21,7 @@

post_content . $block->post_excerpt;?>

Find out more... - +