“How are you, Silver Golden?”

If you also run a WordPress site you will know exactly what that title means, if not then this post is not for you. How to remove your HAL9000 WP9000.

When things annoy me enough I try to find a way to remove them. There are exceptions, I have been told that it cannot apply to humans, which is a pity in some cases. lately I have been spending a long time on the admin part of this site, mostly working on a post that is taking forever to do and customizing it to my liking. The one part that did bug the hell out of me was “How are you, Silver Golden?” in the top right corner. The first few times I thought it was cute, then I searched for the off button but it seemed to have morphed into a WP9000, mocking me “I cant let you do that”. It is to my liking now…

Solving this is actually fairly easy although not easy to find information about. Google did not reveal much, but there was one post, however for a new user it was fairly cryptic. I had no idea what theme functions were, I do now.

The code needed:

function customize_adminbar_appearance() {
global $wp_admin_bar;
$user_id = get_current_user_id();
$avatar = get_avatar( $user_id, 16 );
$wp_admin_bar->add_menu( array(
'id' => 'my-account',
'title' => ' ' . $avatar )
add_action( 'wp_before_admin_bar_render', 'customize_adminbar_appearance' );
  1. Copy the code above.
  2. Go to your Admin area.
  3. Now on to “Appearance” then “Editor”.
  4. Under the heading “Templates” there will be a link to “Theme Functions”.
  5. At the very bottom of the text file paste in the code from Step 1 and press “Update File”.

And you are now free from WP9000!