From 2a14865f0382c255461bc83fbed7d530690b88ea Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 16 Mar 2016 14:27:25 -0400 Subject: [PATCH] setting image size for blocks --- functions.php | 2 +- parts/glm-blocks.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index e38572a..77e330c 100644 --- a/functions.php +++ b/functions.php @@ -74,7 +74,7 @@ function glm_site_scripts() } } - +add_image_size("glm_block_size", 292, 200, true); /* Header for posts*/ function glm_get_header() { diff --git a/parts/glm-blocks.php b/parts/glm-blocks.php index 323afbf..b6e0295 100644 --- a/parts/glm-blocks.php +++ b/parts/glm-blocks.php @@ -2,11 +2,13 @@
+ ID), "glm_block_size", true); ?>