Wanna remove "Howdy" in WordPress? How many of you out there say "Howdy"? Maybe if you are from the south you may use that terminology however I had a client of mine that runs a Caledonian or Scottish blog. The "Scots" do not use "Howdy" at all unless they are poking fun. So she said, "Max, lets get rid of Howdy in the dashboard. Our members find it uncomfortable and a little awkward for our Scottish Social Club. Whatever your reason I will show you how to either take it out totally or replace it with something that is more socially acceptable. :-)
Finding your functions.php file
To remove howdy in WordPress, open your dashboard and click your "Appearance" tab then hit "Editor". Now you want to look over to the right of your screen and find your functions.php file. Scroll clear to the bottom of the page. Copy and paste one of the codes below. Make sure you do it right otherwise you could take your entire website down. :-) Note: You can always use cPanel and edit your functions.php file or an FTP program like notepad plus plus. Make a backup of your functions.php file before entering one of the codes below just in case you screw it up! lolRemove Howdy in WordPress altogether
function remove_howdy( $wp_admin_bar ) { $my_account=$wp_admin_bar->get_node('my-account'); $newtitle = str_replace( 'Howdy,', '', $my_account->title ); $wp_admin_bar->add_node( array( 'id' => 'my-account', 'title' => $newtitle, ) ); } add_filter( 'admin_bar_menu', 'remove_howdy',25 );
Replace Howdy with Salutations
function remove_howdy( $wp_admin_bar ) { $my_account=$wp_admin_bar->get_node('my-account'); $newtitle = str_replace( 'Howdy,', 'Salutations', $my_account->title ); $wp_admin_bar->add_node( array( 'id' => 'my-account', 'title' => $newtitle, ) ); } add_filter( 'admin_bar_menu', 'remove_howdy',25 );
Replace Howdy with Stud Muffin
function remove_howdy( $wp_admin_bar ) { $my_account=$wp_admin_bar->get_node('my-account'); $newtitle = str_replace( 'Howdy,', 'Stud Muffin', $my_account->title ); $wp_admin_bar->add_node( array( 'id' => 'my-account', 'title' => $newtitle, ) ); } add_filter( 'admin_bar_menu', 'remove_howdy',25 );
Replace Howdy with You Sexy Devil
function remove_howdy( $wp_admin_bar ) { $my_account=$wp_admin_bar->get_node('my-account'); $newtitle = str_replace( 'Howdy,', 'You Sexy Devil', $my_account->title ); $wp_admin_bar->add_node( array( 'id' => 'my-account', 'title' => $newtitle, ) ); } add_filter( 'admin_bar_menu', 'remove_howdy',25 );
Edit your Own Howdy for WordPress
So you can put your own greeting by changing the text below that says, "Hi There". Make sure that you leave the ingle quotes in there ('').function remove_howdy( $wp_admin_bar ) { $my_account=$wp_admin_bar->get_node('my-account'); $newtitle = str_replace( 'Howdy,', 'Hi There', $my_account->title ); $wp_admin_bar->add_node( array( 'id' => 'my-account', 'title' => $newtitle, ) ); } add_filter( 'admin_bar_menu', 'remove_howdy',25 );