Trying to weed out code for generic purposes
authorIan Weller <ian@gaslightmedia.com>
Fri, 3 Feb 2017 14:21:24 +0000 (09:21 -0500)
committerIan Weller <ian@gaslightmedia.com>
Fri, 3 Feb 2017 14:21:24 +0000 (09:21 -0500)
I am weeding out some php calls and editing styles so the theme is more
generic.

archive.php
css/app.css
home.php
page-narrow-template.php
page.php
scss/_blog.scss
scss/_main.scss
search.php
single.php

index ad2c032..78984a7 100644 (file)
@@ -4,7 +4,7 @@
         <div class="featured-image" style="background: url('<?php echo get_template_directory_uri();?>/assets/default.jpg') no-repeat scroll 0px bottom / cover;"></div>
     </div>
 
-    <?php get_template_part('parts/reservation-form');?>
+    <?php //get_template_part('parts/reservation-form');?>
     <div class="row">
         <div id="blog-posts-over" class="small-12 medium-8 columns">
             <?php if(have_posts()) : while(have_posts()): the_post();?>
@@ -46,6 +46,6 @@
             <?php endif;?>
         </div>
         <?php get_template_part('parts/blog-sidebar-r'); ?>
-        <?php get_template_part('parts/interior-footer'); ?>
+        <?php //get_template_part('parts/interior-footer'); ?>
     </div>
     <?php get_footer(); ?>
index ddb7e0e..de0526a 100644 (file)
@@ -7064,6 +7064,8 @@ main.page-front .blocks .block {
     /*bottom: 0;*/ }
 main.page-front #main-content {
   margin-top: 25px; }
+main.page-inside img.orb-shadow {
+  top: 0; }
 main #mid {
   margin: 40px auto 0;
   max-width: 1000px; }
@@ -7875,9 +7877,6 @@ body #glm-member-front-header .glm-button.button {
     .blog-single #head-img {
       margin-top: -250px; } }
 
-#blog-side-info-wrapper {
-  top: -57px; }
-
 @media only screen and (min-width:40em) and (max-width:64em) {
   #blog-side-info-wrapper {
     top: -10px; }
index 8b71fe0..986febd 100644 (file)
--- a/home.php
+++ b/home.php
@@ -6,7 +6,7 @@
 <!--    <article <?php // post_class() ?> id="interior-featured">
         <?php // GLM_get_header(); ?>
     </article> -->
-    <?php get_template_part('parts/reservation-form');?>
+    <?php //get_template_part('parts/reservation-form');?>
     <div class="row">
         <div id="blog-posts-over" class="small-12 medium-8 columns">
             <?php if(have_posts()) : while(have_posts()): the_post();?>
@@ -50,7 +50,7 @@
             <?php endif;?>
         </div>
         <?php get_template_part('parts/blog-sidebar-r'); ?>
-        <?php get_template_part('parts/interior-footer'); ?>
+        <?php //get_template_part('parts/interior-footer'); ?>
     </div>
     <?php get_footer(); ?>
 
index 647a512..bf2d23b 100644 (file)
@@ -12,7 +12,7 @@ get_header(); ?>
             <h2 id="slide-text">Life… Is Good… In The Center Of It All</h2>
         </div>
     </div>
-    <?php get_template_part('parts/reservation-form');?>
+    <?php get_template_part('//parts/reservation-form');?>
     <div class="row">
         <img class="orb-shadow" src="<?php bloginfo('template_url'); ?>/assets/shadow-lrg.jpg">
     </div>
@@ -39,7 +39,7 @@ get_header(); ?>
                         <?php endif;?>
                 </div>
             </div>
-            <?php get_template_part('parts/interior-footer'); ?>
+            <?php //get_template_part('parts/interior-footer'); ?>
         </div>
         <?php } ?>
 <?php get_footer(); ?>
index ac03286..9cc1e27 100644 (file)
--- a/page.php
+++ b/page.php
@@ -18,7 +18,7 @@
                 <?php get_template_part('parts/content-section'); ?>
             </div>
         </div>
-        <?php get_template_part('parts/interior-footer'); ?>
+        <?php //get_template_part('parts/interior-footer'); ?>
     </div>
     
 <?php get_footer(); ?>
index bacb756..8afc8dd 100644 (file)
 //    }
 }
 #blog-side-info-wrapper {
-    top: -57px;
+//    top: -57px;
 }
 @media #{$medium-only} {
      #blog-side-info-wrapper {
index 7ad99b2..7148716 100644 (file)
@@ -181,6 +181,11 @@ main {
 //            }
         }
     }
+    &.page-inside {
+        img.orb-shadow {
+            top: 0;
+        }
+    }
     #mid {
         margin: 40px auto 0;
         max-width: 1000px;
index cfa7a21..7a4f232 100644 (file)
@@ -3,7 +3,7 @@
     <div id="head-img">
         <div class="featured-image" style="background: url('<?php echo get_template_directory_uri();?>/assets/default.jpg') no-repeat scroll 0px bottom / cover;"></div>
     </div>
-    <?php get_template_part('parts/reservation-form');?>
+    <?php //get_template_part('parts/reservation-form');?>
     <div class="row">
         <?php if (get_search_query() == "") { ?>
         <br><h2 class="search-result-header small-12 columns">Please enter a query in the search box. </h2>
index 5a2deea..a01e9a8 100644 (file)
@@ -3,7 +3,7 @@
         <div id="head-img">
             <div class="featured-image" style="background: url('<?php echo get_template_directory_uri();?>/assets/default.jpg') no-repeat scroll 0px bottom / cover;"></div>
         </div>
-    <?php get_template_part('parts/reservation-form');?>
+    <?php //get_template_part('parts/reservation-form');?>
         <div class="row">
 
             <?php
@@ -35,7 +35,7 @@
                                         <span class="meta date"><?php the_time('F jS, Y') ?></span>
                                     </header>
                                     <?php echo the_content(); ?>
-                                    <?php comments_template(); ?>
+                                    <?php //comments_template(); ?>
 <!--                                    <footer class="entry-meta small-12 medium-6 medium-push-3 center">-->
                                         <?php //$post_categories = wp_get_post_categories( get_the_ID() );
 //                                        $cats = array();
@@ -81,6 +81,6 @@
                 get_template_part('parts/blog-sidebar-r');
             }
             ?>
-        <?php get_template_part('parts/interior-footer'); ?>
+        <?php //get_template_part('parts/interior-footer'); ?>
         </div>
         <?php get_footer(); ?>