How to remove WordPress logo from admin bar

If you are using WordPress for a longer time, you have probably noticed there was an admin bar introduced in WordPress 3.1. This bar is a great help for admins who can now easily get access to some of the most used links in WordPress backend. Also, there is a WordPress logo on the left.

WordPress logo admin bar

While many of you won’t even notice the logo and will wonder why would you want to change or remove one, those of you who are working on a project for a client might want to remove the branding and give their clients a more personalized product.

Without any further ado, these three steps will help you in removing the logo:

  1. Open your functions.php file
  2. Copy and paste the following function:
  3. function annointed_admin_bar_remove() {
    global $wp_admin_bar;
    add_action('wp_before_admin_bar_render', 'annointed_admin_bar_remove', 0);
  4. Save changes and take a look at your admin bar where you shouldn’t see a WP logo anymore
Start Blog Book


This guide is an introduction to mastering the art of blogging. It provides easy to follow steps to start, maintain, and grow your blog.

Read the guide

Leave a Reply

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