From a43a209e7b83a7b8b936024da86b064450d337de Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 30 Nov 2018 14:06:16 -0500 Subject: [PATCH] fixing broken div tag that should be a closing anchor tag --- glm-blocks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm-blocks.php b/glm-blocks.php index 7ae7557..f6e8735 100644 --- a/glm-blocks.php +++ b/glm-blocks.php @@ -113,7 +113,7 @@ function action_item_blocks( $atts ){ foreach ($blocks as $block): $post_image_id = get_post_thumbnail_id($block->ID); $thumbnail = wp_get_attachment_image_src( $post_image_id, 'landing_page'); - $out .= '
'; + $out .= ''; if($block->url): $out .= 'externalUrl)? ' target="_blank"':'').'>'; endif; @@ -125,7 +125,7 @@ function action_item_blocks( $atts ){ endif; if($block->url): $buttonText = ($count < 1) ? "SIGN UP" : "BUY NOW"; - $out .= '
'; + $out .= 'externalUrl)? ' target="_blank"':'').'>' . $buttonText .''; endif; $out .= ''; $count++; -- 2.17.1