projects
/
WP-Themes
/
mackinawferry.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93607b9
)
Remove target blank from blocks
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 24 Mar 2017 17:29:47 +0000
(13:29 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 24 Mar 2017 17:30:11 +0000
(13:30 -0400)
Jodie wanted this removed
parts/glm-blocks.php
patch
|
blob
|
history
diff --git
a/parts/glm-blocks.php
b/parts/glm-blocks.php
index
92a2b70
..
ce3075d
100644
(file)
--- a/
parts/glm-blocks.php
+++ b/
parts/glm-blocks.php
@@
-10,14
+10,14
@@
<h4><?php echo $block->post_title;?></h4>
<?php if($block->url):?>
</a>
- <a href="<?php echo $block->url;?>"
<?php if($block->externalUrl){echo ' target="_blank"';}?>
>
+ <a href="<?php echo $block->url;?>">
<?php endif;?>
<?php echo get_the_post_thumbnail($block->ID, 'glm-block-image');?>
<?php if($block->url):?>
</a>
<?php endif;?>
<?php if($block->url):?>
-
+
<?php endif;?>
</div>