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
<?php | |
// do not include the opening tag | |
add_filter( 'genesis_noposts_text', 'leaven_change_search_text_one', 10, 2 ); | |
function leaven_change_search_text_one( $text ) { | |
$text .= __( ' Would you like to try again?', 'leaven' ); | |
$text .= get_search_form( false ); | |
return $text; |