Empty search box better error message.
authorLaury GvR <laury@gaslightmedia.com>
Tue, 19 May 2015 16:07:22 +0000 (12:07 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 19 May 2015 16:07:22 +0000 (12:07 -0400)
search.php

index 8263f28..aa2d4bb 100644 (file)
@@ -1,7 +1,7 @@
 <?php get_header(); ?>
 <main class="search-results">
     <?php if (get_search_query() == "") { ?>
-    <br><h2 class="search-result-header">Please enter a query in the search box. </h2>
+    <br><h2 class="search-result-header">Search box was left empty; no results found. </h2>
     <?php } else { ?>
     <br><h2 class="search-result-header">Search Results for "<?php echo get_search_query(); ?>"</h2>
     <div class="row">