Fixed erroneous template part call. Moved kitchen sink call to better location
authorLaury GvR <laury@gaslightmedia.com>
Fri, 3 Apr 2015 15:58:16 +0000 (11:58 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 3 Apr 2015 15:58:16 +0000 (11:58 -0400)
root/page.php
root/parts/glm-kitchen-sink.php

index 30aa7ed..8078217 100644 (file)
@@ -1,7 +1,4 @@
 <?php get_header(); ?>
-    <?php if (is_page("kitchensink")) { 
-        get_template_part('parts/glm-kitchen-sink'); 
-    } else { ?>
                 <div class="main">
                     <?php if (is_page("kitchensink")) { 
                         get_template_part('parts/glm-kitchen-sink'); 
@@ -33,5 +30,4 @@
                     </div> 
                     <?php } ?> <!-- end kitchensink check - delete me before going live -->
                 </div>
-    <?php } ?>
 <?php get_footer(); ?>
index 243122e..f251061 100644 (file)
@@ -55,7 +55,6 @@
 <div id="search" class="row">
     <?php 
     get_template_part('parts/search');
-    include( locate_template( 'template-part.php' ) );
      ?>
 </div>