projects
/
WP-Themes
/
GovernmentEmmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2a58c
)
Empty search box better error message.
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 19 May 2015 16:07:22 +0000
(12:07 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 19 May 2015 16:07:22 +0000
(12:07 -0400)
search.php
patch
|
blob
|
history
diff --git
a/search.php
b/search.php
index
8263f28
..
aa2d4bb
100644
(file)
--- a/
search.php
+++ b/
search.php
@@
-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">