Thanks to Robin Gale Cornett for this – https://robincornett.com/empty-search-results/
1 2 3 4 5 6 7 |
//* Edit Sorry, no content matched your criteria. https://robincornett.com/empty-search-results/ add_filter( 'genesis_noposts_text', 'leaven_change_search_text_two', 10, 2 ); function leaven_change_search_text_two( $text ) { $text = __( 'Sorry, no posts are published at the moment.', 'leaven' ); $text .= get_search_form( false ); return $text; } |
Leave a Reply