Add Woobox embed code on a specific page (paranormal contest)
authorLaury GvR <laury@gaslightmedia.com>
Wed, 1 May 2019 15:55:23 +0000 (11:55 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 1 May 2019 15:55:23 +0000 (11:55 -0400)
header.php
style.css

index 2867515..78211cb 100644 (file)
@@ -5,7 +5,7 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
-    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.1.42">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.1.43">
     <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/favicon.ico">
     <link href='//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
     <link href='//fonts.googleapis.com/css?family=Crimson+Text:600italic' rel='stylesheet' type='text/css'>
     </script>
   </head>
   <body>
+      <?php if (is_page(14728)) { ?>
+       <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>
+      <?php } ?>
       <div class="off-canvas-wrap" data-offcanvas>
         <div class="inner-wrap">
             <div id="page-wrapper">
index ff1a0db..dcfe779 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: SaultSteMarieCVB
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for SaultSteMarieCVB
-Version: 1.1.42
+Version: 1.1.43
 */