changing the front page template , removing events and adding slideshow
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 31 May 2018 18:25:51 +0000 (14:25 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 31 May 2018 18:25:51 +0000 (14:25 -0400)
index.php
parts/glm-blocks.php
parts/slide-show.php
sections/front-page.php
sections/home-page.php

index 9c998ce..5405eee 100644 (file)
--- a/index.php
+++ b/index.php
@@ -10,7 +10,7 @@
                     include "sections/header.php"; 
                     include "sections/off-canvas.php"; 
                     if (is_front_page()) { 
-                        include "sections/landing-page.php"; 
+                        include "sections/home-page.php";
                     } 
                     if (is_home()) { 
                         include "sections/blog-home.php";
index b798a2c..e8dad6b 100644 (file)
@@ -1,4 +1,4 @@
-<span class="blocks-header">What's New at the Point</span>
+
 <?php if(function_exists('fetch_all_glm_blocks')):?>
 <?php $blocks = fetch_all_glm_blocks();?>
 <div class="blocks row">
index 46b44a6..8b8812b 100644 (file)
@@ -1,10 +1,10 @@
-<?php if (is_page( HOMEPAGE_ID )) : ?>
-       <div id="slideshow">
-            <ul>
-            <?php if ( is_active_sidebar( 'slideshow' ) ) : ?>
-                <?php dynamic_sidebar( 'slideshow' ); ?>
-            <?php endif; ?>
-            </ul>
-       </div>
-    <div id="slide-border"></div>
-<?php endif; ?>
+
+<div id="slideshow">
+        <ul>
+        <?php if ( is_active_sidebar( 'slideshow' ) ) : ?>
+            <?php dynamic_sidebar( 'slideshow' ); ?>
+        <?php endif; ?>
+        </ul>
+</div>
+<div id="slide-border"></div>
+
index a3271db..5abe944 100644 (file)
@@ -4,6 +4,7 @@
         <div class="row">
             <?php get_template_part('parts/main-content');?>
         </div>
+    
         <div class="row blocks-row" data-equalizer data-options="equalize_on_stack: false">
             <?php get_template_part('parts/glm-blocks'); ?>
         </div>
index 5ec8998..3d9b638 100644 (file)
@@ -10,7 +10,7 @@
                 <?php get_template_part('parts/glm-blocks'); ?>
             </div>
             <div class="events-block small-12 large-4 columns">
-                <?php get_template_part('parts/events-feed'); ?>
+                <?php //get_template_part('parts/events-feed'); ?>
             </div>
         </div>