From 1ce8daa21ba34619d408953e2d3ccc1b7bc16a74 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 27 Jul 2017 16:38:16 -0400 Subject: [PATCH] removing image div from the blocks if there are no images checking to make sure the blocks have an image url before trying to put the url for the block as a bg url --- parts/glm-blocks.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/parts/glm-blocks.php b/parts/glm-blocks.php index 04fe829..6b4e549 100644 --- a/parts/glm-blocks.php +++ b/parts/glm-blocks.php @@ -39,7 +39,11 @@ default: ID, 'full'); ?> externalUrl){echo ' target="_blank"';}?>> -
+ +
+ +
+ url):?>
-- 2.17.1