Change the ‘Howdy’ in WordPress Admin bar

| February 15, 2012 | 7 Comments

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:

Admin bar default greeting



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!

The following two tabs change content below.
When not at his day job in the hosting industry, Al teaches WordPress at a Toronto, Ont college and also does corporate WordPress training. As a freelance web developer, he is always busy building sites on the WordPress platform. All this leaves him very little time to ride his Harley and watch NFL football.

Latest posts by adavis (see all)

Category: Tutorials, Use

  • HeyDaveCole

    Ha! That's a clever little patch. Thanks for sharing! We've got a dashboard widget that tells our plugin users "You're cool!" and people love that little touch of attention. ;)

    Though, if you've hung out with Matt Mullenweg, you definitely get the impression that he uses "Howdy" in regular conversation as well.

  • anony

    thanks that is great !

  • Joanne

    Thank you!! That worked beautifully!

  • zafar khan

    Very useful post keep the good work continue. Thank you!

  • John Cardell

    When I do that I get the following errors (this is a buddypress install): Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘twentyeleven_body_classes’ not found or invalid function name in /home/artistss/public_html/wp-includes/plugin.php on line 173

    Warning: array_merge(): Argument #1 is not an array in /home/artistss/public_html/wp-content/themes/gallery/inc/theme-options.php on line 445

    Warning: join(): Invalid arguments passed in /home/artistss/public_html/wp-includes/post-template.php on line 389

  • Mirajestudios

    Works beautfully. thank you

  • finetechcode

    great work .it really work for my website

    Thanks so much