Support » Fixing WordPress » Remove Howdy

  • [Please stop bumping your thread]

    I would like to replace the word “Howdy” with “Welcome” and the username when someone is logged into wordpress. Every plugin and code I have tried has now worked and it continue to says Howdy. Please help.


    MH Grafix

Viewing 8 replies - 1 through 8 (of 8 total)
  • Michael


    Forum Moderator

    try to add this to functions.php of your theme:

    add_action( 'wp_before_admin_bar_render', 'personalize_adminbar_appearance' );
    function personalize_adminbar_appearance() {
    	global $wp_admin_bar;
    	$current_user = wp_get_current_user();
    	$user_id      = get_current_user_id();
    	$avatar = get_avatar( $user_id, 16 );
    	$wp_admin_bar->add_menu( array(
    		'id'        => 'my-account',
    		'title'     => 'Wwelcome ' . $current_user->display_name . $avatar )

    That caused a server error and my site wouldn’t load once added.

    Moderator Mark Ratledge


    Forum Moderator

    As a different option, I use this in 3.5.2:

    add_filter( 'gettext', 'change_howdy_text', 10, 2 );
    function change_howdy_text( $translation, $original ) {
        if( 'Howdy, %1$s' == $original )
            $translation = 'Logged in as %1$s';
        return $translation;

    It’s still showing up as “Howdy” on the site.

    Moderator Mark Ratledge


    Forum Moderator

    Works fine for me; might be something else in your functions.php file.



    Thanks @songdogtech.

    Your solution worked a treat! 🙂



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


    Unless I’m doing something wrong, these didn’t work for me. Again the last one gave me a “server error” after I added it to my functions.php

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove Howdy’ is closed to new replies.