Renamed 'special template' to Bottom Sections template
authorLaury GvR <laury@gaslightmedia.com>
Wed, 9 Nov 2016 21:47:27 +0000 (16:47 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 9 Nov 2016 21:47:27 +0000 (16:47 -0500)
bottom-sections.php [new file with mode: 0644]
parts/main-content.php
sections/interior-page.php
special-page-template.php [deleted file]

diff --git a/bottom-sections.php b/bottom-sections.php
new file mode 100644 (file)
index 0000000..7553a92
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+/*
+Template Name: Bottom Sections
+*/
+?>
+<!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">
+                    <?php
+                    include "sections/header.php";
+                    include "sections/off-canvas.php";
+                    include "sections/interior-page.php";
+                    include "sections/footer.php";
+                    include "sections/copyright.php";
+                    ?>
+                </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="http://w.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>
\ No newline at end of file
index 5e2c31d..529fa84 100644 (file)
@@ -1,4 +1,4 @@
-        <?php if (is_page_template('special-page-template.php')) { ?>
+        <?php if (is_page_template('bottom-sections.php')) { ?>
             <div id="main-content" class="small-12 medium-8 columns" data-equalizer-watch>
         <?php } else { ?>
             <div id="main-content" class="small-12 medium-8 columns">
index 39e6dca..7930ce7 100644 (file)
@@ -39,7 +39,7 @@
                                 </div>
                             </div>
                             
-                            <?php if (is_page_template('special-page-template.php')) { ?>
+                            <?php if (is_page_template('bottom-sections.php')) { ?>
                                 <div id="glm-acf-first" class="glm-acf-field row">
                                     <div class="glm-acf-title small-12 columns">
                                         <?php the_field('glm-acf-first-title'); ?>
diff --git a/special-page-template.php b/special-page-template.php
deleted file mode 100644 (file)
index e30f035..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/*
-Template Name: Special Template
-*/
-?>
-<!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">
-                    <?php
-                    include "sections/header.php";
-                    include "sections/off-canvas.php";
-                    include "sections/interior-page.php";
-                    include "sections/footer.php";
-                    include "sections/copyright.php";
-                    ?>
-                </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="http://w.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>
\ No newline at end of file