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 →
GridView PRO WordPress Theme

GridView PRO

GridView PRO is fully responsive, feature-rich, accessibility improved, more advanced version of its free version. GridView PRO WordPress theme has...

$25.00
GridMode PRO WordPress Theme

GridMode PRO

Are you using the GridMode free WordPress Theme and looking for more advanced features? GridMode PRO theme is developed for...

$25.00
GridHot PRO WordPress Theme

GridHot PRO

If you have tried GridHot Free WordPress Theme, then you will love the premium version. GridHot PRO version has color...

$25.00
MagPal PRO WordPress Theme

MagPal PRO

$25.00
GridNext PRO WordPress Theme

GridNext PRO

If you have used GridNext Free WordPress Theme, then you will love the premium version. GridNext PRO version has color...

$25.00
GridRead PRO WordPress Theme

GridRead PRO

If you like GridRead Free WordPress Theme, then you will love the premium version. GridRead PRO version has color options,...

$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
Simple Grid PRO WordPress Theme

Simple Grid PRO

You'll be pleased with the Simple Grid PRO WordPress theme if you have tried the free version. It is a...

$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 56 WordPress themes.