projects
/
WP-Themes
/
keweenaw2017.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2554b9
)
Only show the frontpage widget on the front page
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 2 Aug 2019 23:13:23 +0000
(19:13 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 2 Aug 2019 23:13:23 +0000
(19:13 -0400)
sections/header.php
patch
|
blob
|
history
diff --git
a/sections/header.php
b/sections/header.php
index
8804223
..
501ac01
100644
(file)
--- a/
sections/header.php
+++ b/
sections/header.php
@@
-12,6
+12,7
@@
?>
</div>
</header>
+<?php if (is_front_page()) { ?>
<div id="widget-container-1649"></div>
<script type="text/javascript">
(function() {
@@
-21,4
+22,5
@@
script.src = "https://admin.bookdirect.net/hs4/widgets/1649.js?widget_element=widget-container-1649";
document.body.appendChild(script);
})();
-</script>
\ No newline at end of file
+</script>
+<?php } ?>
\ No newline at end of file