projects
/
WP-Themes
/
EMSEmmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9452c06
)
Fix the url so it only show when url is present
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 2 Oct 2015 18:55:00 +0000
(14:55 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 2 Oct 2015 18:55:00 +0000
(14:55 -0400)
front-page.php
patch
|
blob
|
history
diff --git
a/front-page.php
b/front-page.php
index
98e1509
..
0ee4ad1
100644
(file)
--- a/
front-page.php
+++ b/
front-page.php
@@
-40,7
+40,9
@@
</a>
<?php endif;?>
<p><?php echo $block->post_excerpt;?></p>
+ <?php if($block->url):?>
<a class="blocks-readmore" href="<?php echo $block->url;?>">Read More...</a>
+ <?php endif;?>
</div>
<?php endforeach;?>
</div>