How to change the WordPress Howdy greeting

Written by SolvIT Solutions - Blog, Website - No Comments
If you are like me, you really would wish that that wordpress howdy greeting does not appear in your dashboard. Well here is a small trick to tweak your wordpress blog or website to look as professional and appealing as possible. 
Copy and paste the code snippet below into your current theme’s functions.php file and click update. You can customize the message as much as you would want to. 
function replace_howdy( $wp_admin_bar ) {
 $newtitle = str_replace( 'Howdy,', 'Hello, welcome back!', $my_account->title );
 $wp_admin_bar->add_node( array(
 'id' => 'my-account',
 'title' => $newtitle,
 ) );
 add_filter( 'admin_bar_menu', 'replace_howdy',25 );

Post a Comment

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


Positive SSL