fixing search page
authorIan Weller <ian@gaslightmedia.com>
Mon, 17 Aug 2015 14:29:45 +0000 (10:29 -0400)
committerIan Weller <ian@gaslightmedia.com>
Mon, 17 Aug 2015 14:29:45 +0000 (10:29 -0400)
search.php

index 34eefd5..afcd083 100644 (file)
@@ -3,11 +3,11 @@
     <div id="head-img">
 
     </div>
-    <?php if (get_search_query() == "") { ?>
-    <br><h2 class="search-result-header small-12 columns">Please enter a query in the search box. </h2>
-    <?php } else { ?>
-    <br><h2 class="search-result-header small-12 columns">Search Results for "<?php echo get_search_query(); ?>"</h2>
     <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>
+        <?php } else { ?>
+        <br><h2 class="search-result-header small-12 columns">Search Results for "<?php echo get_search_query(); ?>"</h2>
         <div id="blog-posts-over" class="small-12 medium-9 columns">
             <?php if(have_posts()) : while(have_posts()): the_post();?>
                 <?php if (is_search() && (isset($_GET['searchType']) && $_GET['searchType'] == 'blog') && ($post->post_type=='page')) continue; ?>