Replace “Howdy” greeting from WordPress Dashboard

Sometimes you build a website for a client that needs some backend customization, he/she will need access and you don’t want to show him anything but a serious backend site.

So “Howdy” shouldn’t be there, no matter how hard you work to get that back end the way you want, if you let the word “howdy” it will look unprofessional.

So how to remove it? Or better yet, how to replace it with a different phrase?

There are a couple of things you can do. You can add the following code to your functions.php file (The one in the theme you are using) to remove it:

function replace_howdy($wp_admin_bar) {
$newtitle = str_replace('Howdy,', '', $my_account->title );
'id' => 'my-account',
'title' => $newtitle,
add_filter('admin_bar_menu', 'replace_howdy',25);

Or you can add instead of that, the following code to replace the “Howdy” with a word you want, in this case “Hello” But you can use anything you want like “Welcome” or “Hi” just replacing the line $newtitle with the following:

$newtitle = str_replace('Howdy,', 'Hello,', $my_account->title );

And that’s it, now your WP Dashboard looks a little bit more professional.

Looking for quality WordPress hosting? Check out Arvixe Web Solutions.

Tags: , , , , , , , | Posted under WordPress | RSS 2.0

Author Spotlight

Facu Puig

I make websites since 1997, I use Adobe since 2004 and Wordpress since 2007. Fascinated by design at the age of 8, thanks to my father, a multi award winner graphic designer.

Leave a Reply

Your email address will not be published. Required fields are marked *