projects
/
WP-Themes
/
staffords.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dcd29a
)
added conditional to keep text separator in glm blocks for home page only
author
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 1 Dec 2015 15:06:49 +0000
(10:06 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 1 Dec 2015 15:06:49 +0000
(10:06 -0500)
parts/glm-blocks.php
patch
|
blob
|
history
diff --git
a/parts/glm-blocks.php
b/parts/glm-blocks.php
index
018dd22
..
e830caa
100644
(file)
--- a/
parts/glm-blocks.php
+++ b/
parts/glm-blocks.php
@@
-56,9
+56,10
@@
default:
</a>
<?php endif;?>
<p><?php echo $block->post_content . $block->post_excerpt;?></p>
-
+ if(<?php is_home(); ?>):?>
<div class="separator text-center"><img src="<?php bloginfo('template_url'); ?>/assets/fancy-divider-large.jpg"></div>
</div>
+ <?php endif;?>
<?php endforeach;?>
</div>