Change the ‘Howdy’ in WordPress Admin bar
When you log into your WordPress dashboard, you are greeted with a simple ‘ Howdy, Username’ message in the top right hand corner of your admin bar.While it’s fun and friendly, you may not be a fan of the word Howdy, or may want something more corporate for a client. So how do you go about changing it? It’s actually quite easy as long as your willing to copy and paste a bit of code.
Open your functions.php ( it might also be called Theme Functions depending on your theme) file in the Editor (from the dashboard simply navigate to Appearance > Editor) then copy and paste the following into the file:
add_filter( 'body_class', 'twentyeleven_body_classes' );
add_filter('gettext', 'change_howdy', 10, 3);
function change_howdy($translated, $text, $domain) {
if (!is_admin() || 'default' != $domain)
return $translated;
if (false !== strpos($translated, 'Howdy'))
return str_replace('Howdy', 'Welcome', $translated);
return $translated;
}
If ’Welcome’ isn’t your cup of tea either, you can replace it with any word or phrase you like, just make sure you have single quotes around it.
Here is the before look:
And the very subtle change I made to the wpteach admin bar:
Go ahead and have some fun with this, cause you deserve to be greeted the way you want to be!
-
http://dashter.com HeyDaveCole
-
anony
-
Joanne
-
http://twitter.com/specialpeople1 zafar khan
-
http://twitter.com/johnamsoil John Cardell
-
Mirajestudios





