-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ce1846
commit e5b72ed
Showing
3 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
/** | ||
* Search Results | ||
* | ||
* @package EAGenesisChild | ||
* @author Bill Erickson | ||
* @since 1.0.0 | ||
* @license GPL-2.0+ | ||
**/ | ||
|
||
/** | ||
* Search header | ||
* | ||
*/ | ||
function ea_search_header() { | ||
do_action( 'genesis_archive_title_descriptions', 'Search Results', get_search_form( false ), 'search-description' ); | ||
} | ||
add_action( 'genesis_before_loop', 'ea_search_header', 15 ); | ||
|
||
// Build the page using the archive template | ||
require get_stylesheet_directory() . '/archive.php'; |