From: Anthony Talarico Date: Fri, 30 Nov 2018 19:06:16 +0000 (-0500) Subject: fixing broken div tag that should be a closing anchor tag X-Git-Tag: v1.6.2^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a43a209e7b83a7b8b936024da86b064450d337de;p=WP-Plugins%2Fglm-blocks.git fixing broken div tag that should be a closing anchor tag --- 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++;