Replaced get_header/footer in woo theme file with actual header/footer code
authorLaury GvR <laury@gaslightmedia.com>
Wed, 9 May 2018 14:35:52 +0000 (10:35 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 9 May 2018 14:35:52 +0000 (10:35 -0400)
index.php
woocommerce.php

index ef565ea..210608b 100644 (file)
--- a/index.php
+++ b/index.php
             </div><!--End of inner-wrap-->
         </div><!--End of off-canvas-->
         <?php wp_footer();?>
-        <script charset="utf-8" type="text/javascript">var switchTo5x=true;</script>
-        <script charset="utf-8" type="text/javascript" src="//ws.sharethis.com/button/buttons.js"></script>
-        <script charset="utf-8" type="text/javascript">stLight.options({"publisher":"wp.c3d3647e-de70-4780-b71d-6b739fad685a"});var st_type="wordpress4.3.1";</script>
-    <?php if ( in_array( $post->ID, array( 221, 228, 465 ) ) ) : ?>
-        <script src="<?php echo get_stylesheet_directory_uri() ; ?>/assets/smartbanner/smartbanner.js"></script>
-    <?php endif; ?>
     </body>
 </html>
index 3e9f926..f10ea88 100644 (file)
@@ -1,4 +1,12 @@
-<?php get_header(); ?>
+<!doctype html>
+<html class="no-js" lang="en">
+    <?php get_template_part("parts/header-meta"); ?>
+    <?php $index_template = true;?>
+    <body>
+        <div class="off-canvas-wrap" data-offcanvas>
+            <div class="inner-wrap">
+                <div id="page-wrapper">
+
     <div id="content-wrapper" class='side-shadow row woocommerce-wrapper'>
         <div class="row content">
             <div class="small-12 columns">
         </div>
     </div>
               
-<?php get_footer(); ?>
+                    </div><!--/#page-wrapper-->
+            <a class="exit-off-canvas"></a>
+            </div><!--End of inner-wrap-->
+        </div><!--End of off-canvas-->
+        <?php wp_footer();?>
+        <script charset="utf-8" type="text/javascript">var switchTo5x=true;</script>
+        <script charset="utf-8" type="text/javascript" src="//ws.sharethis.com/button/buttons.js"></script>
+        <script charset="utf-8" type="text/javascript">stLight.options({"publisher":"wp.c3d3647e-de70-4780-b71d-6b739fad685a"});var st_type="wordpress4.3.1";</script>
+    </body>
+</html>