Skip to content

Instantly share code, notes, and snippets.

@eugenoprea
Created February 3, 2013 01:57
Show Gist options
  • Save eugenoprea/4700242 to your computer and use it in GitHub Desktop.
Save eugenoprea/4700242 to your computer and use it in GitHub Desktop.
Genesis - How to Change Text Shown When No Posts Are Found
/** 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