How to Remove WordPress Logo from the Admin Bar

By default, WordPress displays a logo in the admin bar at the top of the dashboard. While this is a minor feature, you may want to remove it for a cleaner or more personalized appearance, especially when working on a client site or custom project.

Why Remove the WordPress Logo?

Here are a few reasons you might consider removing the WordPress logo:

  • Branding: When developing a custom theme for a client, removing WordPress-specific elements can create a more polished, branded experience.
  • Simplify the Admin Bar: If the admin bar contains too many items, removing non-essential elements like the WordPress logo can streamline the interface and reduce clutter.

How to Remove the WordPress Logo

To remove the WordPress logo from the admin bar, simply add the following code snippet to your theme's functions.php file:

function themesdna_remove_wp_logo_from_admin_bar($wp_admin_bar) {
    // Remove the WordPress logo from the admin bar
    $wp_admin_bar->remove_node('wp-logo');
}

// Customize the admin bar by removing the WordPress logo
add_action('admin_bar_menu', 'themesdna_remove_wp_logo_from_admin_bar', 999);

Once you've added this snippet, refresh your WordPress dashboard, and the WordPress logo will no longer be visible in the admin bar.

Our WordPress Themes

Below are some of our premium WordPress themes. View all our free and premium WordPress themes →
TextWP PRO WordPress Theme

TextWP PRO

TextWP PRO is an more improved and advanced version of TextWP Free WordPress Theme. When compare with the TextWP free...

$25.00
EasyWP PRO WordPress Theme

EasyWP PRO

If you like EasyWP free WordPress Theme, you will love the premium version. EasyWP PRO is an user friendly, HTML5/CSS3...

$25.00
BestWP PRO WordPress Theme

BestWP PRO

If you like BestWP free WordPress Theme, you will love the BestWP premium version. BestWP PRO is user friendly, feature-rich,...

$25.00
GridMe PRO WordPress Theme

GridMe PRO

If you have tried GridMe Free WordPress Theme, then you will love the premium version. It will help you to...

$25.00
MaxWP PRO WordPress Theme

MaxWP PRO

If you like MaxWP free WordPress Theme, you will love the premium version. MaxWP PRO is feature-rich, easy to use,...

$25.00
Simple Writer PRO WordPress Theme

Simple Writer PRO

Simple Writer PRO is a feature-rich, improved and advanced version of Simple Writer Free WordPress Theme. When compare with the...

$25.00
WP Masonry PRO WordPress Theme

WP Masonry PRO

If you like WP Masonry free WordPress Theme, you will love the premium version. WP Masonry PRO is an improved...

$25.00
EliteWP PRO WordPress Theme

EliteWP PRO

If you like EliteWP free WordPress Theme, you will love the premium version. EliteWP PRO is an advanced, very user...

$25.00

Can't you choose a single theme? Purchase All Themes for $75.

Save money with our low, one-time price for access to all of our 55 WordPress themes.