From: Anthony Talarico Date: Thu, 27 Jul 2017 20:38:16 +0000 (-0400) Subject: removing image div from the blocks if there are no images X-Git-Tag: v1.0.0^2~102 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1ce8daa21ba34619d408953e2d3ccc1b7bc16a74;p=WP-Themes%2Fbaragacounty.git 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 --- 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):?>