Adding Woobox embed code to theme.
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Apr 2018 19:39:18 +0000 (15:39 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 20 Apr 2018 19:39:18 +0000 (15:39 -0400)
Client wants to add Woobox embed code to the theme.

header.php
style.css

index 5a8a6df..e3b1caf 100644 (file)
     <?php wp_head(); ?>
   </head>
   <body>
+<div id='woobox-root'></div>
+<script>(function(d, s, id) {
+var js, fjs = d.getElementsByTagName(s)[0];
+if (d.getElementById(id)) return;
+js = d.createElement(s); js.id = id;
+js.src = "https://woobox.com/js/plugins/woo.js";
+fjs.parentNode.insertBefore(js, fjs);
+}(document, 'script', 'woobox-sdk'));</script>
       <div class="off-canvas-wrap" data-offcanvas>
         <div class="inner-wrap">
             <div id="page-wrapper">
index b646bc9..4acddf5 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: DiscoverKalamazoo
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for DiscoverKalamazoo
-Version: 1.1.42
+Version: 1.1.43
 */