Created
February 3, 2013 01:57
-
-
Save eugenoprea/4700242 to your computer and use it in GitHub Desktop.
Genesis - How to Change Text Shown When No Posts Are Found
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
/** Change Text Shown When No Posts Are Found */ | |
add_filter('genesis_noposts_text', 'eo_noposts_text'); | |
function eo_noposts_text($text) | |
{ | |
$text = '<span class="noposts-text">' . __('Your request did not return any results, please check back later.', 'eo') . '</span>'; | |
return $text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment