projects
/
WP-Plugins
/
glm-blocks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a43a209
)
fixing nested anchor tags wrapped in each other
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 3 Dec 2018 14:11:17 +0000
(09:11 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 3 Dec 2018 14:11:17 +0000
(09:11 -0500)
glm-blocks.php
patch
|
blob
|
history
diff --git
a/glm-blocks.php
b/glm-blocks.php
index
f6e8735
..
7f7c164
100644
(file)
--- 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 .= '<
a
class="small-text-center medium-text-left glm-block">';
+ $out .= '<
div
class="small-text-center medium-text-left glm-block">';
if($block->url):
$out .= '<a href="'.$block->url.'"'.(($block->externalUrl)? ' target="_blank"':'').'>';
endif;