From: Anthony Talarico Date: Wed, 16 Mar 2016 18:27:25 +0000 (-0400) Subject: setting image size for blocks X-Git-Tag: v1.0.0~134 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2a14865f0382c255461bc83fbed7d530690b88ea;p=WP-Themes%2Fpetoskeyveterinarian.git setting image size for blocks --- 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); ?>