projects
/
WP-Themes
/
uptravel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0f9ce8
)
Display custom field for frontpage crowdriff
author
Laury GvR
<laury@gaslightmedia.com>
Mon, 17 Dec 2018 22:03:49 +0000
(17:03 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Mon, 17 Dec 2018 22:03:49 +0000
(17:03 -0500)
sections/front-page.php
patch
|
blob
|
history
diff --git
a/sections/front-page.php
b/sections/front-page.php
index
2b97e5c
..
9d1db8d
100644
(file)
--- a/
sections/front-page.php
+++ b/
sections/front-page.php
@@
-22,6
+22,11
@@
<?php get_template_part('parts/main-content'); ?>
</div>
</div>
+ <?php if (get_field('frontpage_crowdriff')) { ?>
+ <div id="frontpage-crowdriff">
+ <?php the_field('frontpage_crowdriff'); ?>
+ </div>
+ <?php } ?>
<!-- <?php //get_template_part('parts/blog-feed-front'); ?>
<div id="lens">
<script id="cr__init-b054762a" src="https://embed.crowdriff.com/js/init?hash=b054762a" async></script>