From 22ef61e0c9c2d88649a3827b7bd8ff769a44bc9c Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 17 Sep 2015 17:09:45 -0400 Subject: [PATCH] Update block image size Setting for 300 x 230 --- functions.php | 1 + parts/glm-blocks.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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... - + -- 2.17.1