
Jemee
Published: Apr 21, 2024
Updated: Nov 9, 2026
Key Takeaways
- The WordPress admin bar, also called the toolbar, is the 32-pixel dark strip at the top of the screen that logged-in users see in wp-admin and, by default, on the front end of the site.
- WordPress builds the toolbar on the admin_bar_menu hook, so the remove_node() and add_node() methods of the WP_Admin_Bar class can remove, add, rename or move any toolbar item with a few lines of PHP.
- WP Adminify's free White Label tab has Admin Bar Cleanup checkboxes that remove the WordPress logo, site name, comments, updates and New button from the WordPress admin bar without code.
- The free Admin Bar Editor plugin by Pixar Labs turns core toolbar items on or off, reorders backend items by drag and drop, and can move the admin bar to the bottom of the screen.
- Admin Bar Editor Pro adds custom top-level and submenu links, visibility rules for chosen roles or usernames, and colour, gradient and dropdown styling for the WordPress toolbar.
To customize the WordPress admin bar, you remove the items you do not need, add the links your team uses every day, put them in a sensible order and give the bar your own colours. You can do all of this with a few lines of PHP on the admin_bar_menu hook, or with a settings screen such as the Admin Bar Editor addon, which needs no code.
This guide covers every customizing job in order: what sits on the toolbar, how to remove items, how to add custom links, how to reorder and restyle the bar, and how to give each user role its own toolbar. Each section shows the code way and the no-code way. If you want the whole bar gone instead, a separate guide covers hiding it per user and per role.
What Is the WordPress Admin Bar?
The WordPress admin bar is the dark horizontal strip across the top of the screen. WordPress shows it only to logged-in users. It appears inside wp-admin and, unless a user turns it off, on the front end of the site too. WordPress calls it the "Toolbar" in the Profile screen, but developers and most guides call it the admin bar.
On a desktop screen the bar is 32 pixels tall. On screens 782 pixels wide or smaller it grows to 46 pixels so the icons are easier to tap. Visitors who are not logged in never see it, so any change you make only affects you, your team and your clients.
The screenshot below shows the default bar on our test site running WordPress 7.1.4. From left to right you can see the WordPress logo, the site name, the WP Adminify search shortcut, the comments counter, the New button and the WP Adminify menu label. The light and dark mode switch and the "Howdy" account menu sit on the right.

What Is on the WordPress Toolbar by Default?
A default WordPress toolbar holds about eight core items: the WordPress logo menu, the site name, updates, comments, the New menu, the Howdy account menu, and on the front end an Edit link, a Customize or Edit site link and a search box. Every plugin can add more items, which is why busy sites end up with a crowded bar.
Each item has an ID, called a node ID. You need these IDs for any code change, and they also help you understand what a toolbar editor is switching on and off.
| Item | Node ID | Where it shows | What it does |
|---|---|---|---|
| WordPress logo | wp-logo | Admin and front end | Menu with About WordPress, WordPress.org, documentation and support links |
| Site name | site-name | Admin and front end | Jumps between the dashboard and the live site |
| Updates | updates | Admin and front end | Shows the number of pending updates (only when there are any) |
| Comments | comments | Admin and front end | Shows comments waiting for moderation |
| New | new-content | Admin and front end | Quick links to add a post, media file, page or user |
| Edit | edit | Front end | Opens the post or page you are viewing in the editor |
| Customize / Edit site | customize / site-editor | Front end | Opens the Customizer (classic themes) or the Site Editor (block themes) |
| Search | search | Front end | Searches the site |
| Howdy account menu | my-account | Admin and front end | Profile link and Log Out |
Plugins add their own nodes with their own IDs. Caching, SEO and page builder plugins are the most common. To find the ID of any item, right-click it in your browser, choose Inspect, and look at the list item. Its HTML ID starts with wp-admin-bar-, and the rest of the ID is the node ID. For example, wp-admin-bar-comments means the node ID is comments.
Ways to Customize the WordPress Admin Bar
There are three main ways to customize the WordPress admin bar: PHP code on the admin_bar_menu hook, the free Admin Bar Cleanup options in WP Adminify's White Label tab, and the Admin Bar Editor plugin (free, with a Pro upgrade). Code can do every job, and the plugins handle the common ones from a settings screen.
Find your job in the first column, then go to the section for the method you want.
| Job | Code (admin_bar_menu) | WP Adminify Admin Bar Cleanup (free) | Admin Bar Editor (free) | Admin Bar Editor Pro |
|---|---|---|---|---|
| Remove core items | Yes, any item | Logo, site name, comments, updates, New | Yes, switch per item | Yes |
| Remove plugin items | Yes | No | Listed items can be switched off | Yes |
| Change the "Howdy" text | Yes | Yes (Change "Howdy" Text) | Turns the Adminify Howdy fields off while active | Turns the Adminify Howdy fields off while active |
| Add custom links | Yes | No | No | Yes, top level and submenus |
| Reorder items | Yes, by hook priority | No | Yes, drag and drop (backend) | Yes |
| Colours and styling | Yes, with CSS | No | No | Yes, colours, gradient, dropdown, New button |
| Move the bar to the bottom | With CSS | No | Yes (Advanced tab) | Yes |
| Different toolbar per role or user | Yes | No | No | Yes |
Any PHP in this guide should go in a small custom plugin or a code snippet manager, not in your theme's functions.php file. Theme updates overwrite functions.php, and a snippet manager lets you turn a snippet off if it causes an error. WP Adminify includes one: the Code Snippets feature in WP Adminify keeps your admin CSS and JS in one place.
How to Remove Items From the WordPress Admin Bar
To remove items from the WordPress admin bar, tick the matching Admin Bar Cleanup boxes in WP Adminify, switch the item off in Admin Bar Editor, or call $wp_admin_bar->remove_node( 'id' ) on the admin_bar_menu hook. Removing items is the most common toolbar job, and all three methods take less than five minutes.
Without code: WP Adminify Admin Bar Cleanup
WP Adminify has a short checklist for the core items most people remove. The section has no Pro badge, so it works in the free plugin.
- Go to WP Adminify > White Label.
- In the "WordPress" White Label Settings section, find Admin Bar Cleanup.
- Tick the items you want to remove: WordPress Logo, Site Name, Comments, Updates and "New" Button.
- Save the settings and reload any admin screen.

On our test site we ticked WordPress Logo, Comments, Updates and "New" Button, and left Site Name on. Compare the result with the default bar from the top of this guide. The logo, comment bubble and New button are gone, and only the site name, the search shortcut, the menu label and the greeting are left. The menu label reads "Acme Admin" and the greeting reads "Welcome" because the same tab was also used to rebrand the plugin and change the "Howdy" text. If the logo is the only item you want gone, our guide on how to remove the WordPress logo from the admin bar shows every method.

Admin Bar Cleanup is part of WP Adminify White Label WordPress, which also handles the admin footer text and the "Howdy" greeting. Agencies often clean the toolbar, then hide the comments menu on sites that do not use comments.
Without code: Admin Bar Editor
The Admin Bar Editor plugin lists every toolbar item it finds, including items added by other plugins, as a row with an on/off switch. Turn a switch off and save, and the item disappears. The Backend tab controls the bar inside wp-admin and the Frontend tab controls the bar on the live site, so you can keep an item in one place and remove it from the other. Turning core items on and off is part of the free plugin.
With code: remove_node()
The code route works for any node ID from the table above, including plugin items. Hook in at a late priority, such as 999, so your code runs after WordPress and other plugins have added their items.
1
2// Remove items from the admin bar.
3// Add to a small custom plugin or a code snippet manager.
4add_action( 'admin_bar_menu', 'acme_remove_toolbar_items', 999 );
5
6function acme_remove_toolbar_items( $wp_admin_bar ) {
7 $wp_admin_bar->remove_node( 'wp-logo' ); // WordPress logo menu
8 $wp_admin_bar->remove_node( 'comments' ); // Comments counter
9 $wp_admin_bar->remove_node( 'new-content' ); // "+ New" menu
10 $wp_admin_bar->remove_node( 'updates' ); // Updates counter
11}
12To remove a single submenu entry instead of the whole menu, use the child's ID. For example, new-user removes "User" from the New menu and leaves Post, Media and Page in place. The official WP_Admin_Bar class reference lists every method.
How to Change or Remove "Howdy" in the Admin Bar
To change "Howdy" in the WordPress admin bar without code, go to WP Adminify > White Label and use Remove "Howdy" message or Change "Howdy" Text. Both options are free. With code, you read the my-account node, replace the word in its title, and save the node again on the admin_bar_menu hook.
On our test site the text "Welcome" turned the greeting into "Welcome, jm", which you can see in the cleaned-up toolbar above. Note that the two Howdy fields are hidden and ignored when the Admin Bar Editor plugin is active, because that plugin then controls the whole toolbar. They are also hidden when the Adminify UI is turned on.
The code version works on any site:
1
2// Replace "Howdy," with "Welcome," in the account menu.
3add_action( 'admin_bar_menu', 'acme_replace_howdy', 9999 );
4
5function acme_replace_howdy( $wp_admin_bar ) {
6 $account = $wp_admin_bar->get_node( 'my-account' );
7 if ( ! $account ) {
8 return;
9 }
10 $wp_admin_bar->add_node( array(
11 'id' => 'my-account',
12 'title' => str_replace( 'Howdy,', 'Welcome,', $account->title ),
13 ) );
14}
15This hook uses priority 9999 because WordPress adds the account menu at priority 9991. At 999 the menu does not exist yet, and the greeting stays "Howdy". Calling add_node() with an ID that already exists updates that node instead of adding a new one. The same trick renames any other item. Note that "Howdy" is translated on sites that do not use English, so the word you replace must match the site language.
How to Add Custom Links to the WordPress Admin Bar
To add a custom link to the WordPress admin bar, call $wp_admin_bar->add_node() on the admin_bar_menu hook with an ID, a title and a URL. Add a parent value to make it a submenu item. Without code, Admin Bar Editor Pro has an Add Item button for new top-level and submenu links.
Custom links are useful when your team opens the same screens many times a day. Good examples are the posts waiting for review, a client help page, a shared Google Drive folder for images, or the WooCommerce orders screen.
With code: add_node()
This snippet adds a "Team" menu with two submenu links. The first link opens pending posts. The second opens an outside page in a new tab.
1
2// Add a custom "Team" menu with two links to the admin bar.
3add_action( 'admin_bar_menu', 'acme_add_toolbar_links', 100 );
4
5function acme_add_toolbar_links( $wp_admin_bar ) {
6 // Only show it to users who can edit posts.
7 if ( ! current_user_can( 'edit_posts' ) ) {
8 return;
9 }
10
11 // Top-level item
12 $wp_admin_bar->add_node( array(
13 'id' => 'acme-team',
14 'title' => 'Team',
15 'href' => admin_url( 'edit.php?post_status=pending' ),
16 ) );
17
18 // Submenu item 1
19 $wp_admin_bar->add_node( array(
20 'id' => 'acme-team-pending',
21 'parent' => 'acme-team',
22 'title' => 'Posts to review',
23 'href' => admin_url( 'edit.php?post_status=pending' ),
24 ) );
25
26 // Submenu item 2, opens in a new tab
27 $wp_admin_bar->add_node( array(
28 'id' => 'acme-team-images',
29 'parent' => 'acme-team',
30 'title' => 'Image folder',
31 'href' => 'https://drive.google.com/',
32 'meta' => array( 'target' => '_blank' ),
33 ) );
34}
35A few rules keep custom nodes working well:
- Give every node a unique ID with your own prefix, such as
acme-, so it never clashes with a plugin. - Use
admin_url()for wp-admin links so they still work if the site moves to a new domain. - Check a capability before you add a link, so users only see links to screens they can open.
- Set
'parent' => 'top-secondary'to place an item on the right side of the bar, next to the account menu.
Without code: Admin Bar Editor Pro
Below the item list in Admin Bar Editor there is an Add Item button. In the free plugin it shows an upgrade note, because new items are a Pro feature. With Pro you can create a new top-level item, give it a title and a URL, and add submenu items under it. You can also add submenu items under existing items, so a "Blog" item could hold direct links to your two busiest categories.
How to Reorder WordPress Admin Bar Items
To reorder WordPress admin bar items without code, open Admin Bar Editor and drag the rows on the Backend tab into the order you want, then save. The free plugin supports this. With code, the order follows the hook priority: items added at a lower priority appear further to the left.
When WP Adminify is active, the editor sits under WP Adminify > Adminbar Editor. It has three tabs on the left: Backend, Frontend and Advanced. Each toolbar item is a row with a drag handle on the left, an on/off switch and an arrow that opens the item settings.

WP Adminify's Admin Bar Editor is an easy way to fix a messy order, because you see every item, including plugin items, in one list. Drag the links you use most to the top of the list so they sit at the left of the bar.
Reorder with code
WordPress adds its own items at fixed priorities on the admin_bar_menu hook. The WordPress logo comes in at priority 10 and the site name at 30. Your own item lands between them if you add it at priority 20. To move an existing item to the end of the bar, read it, remove it and add it again at a late priority:
1
2// Move the "+ New" menu to the end of the left side of the bar.
3add_action( 'admin_bar_menu', 'acme_move_new_menu', 999 );
4
5function acme_move_new_menu( $wp_admin_bar ) {
6 $node = $wp_admin_bar->get_node( 'new-content' );
7 if ( ! $node ) {
8 return;
9 }
10 $wp_admin_bar->remove_node( 'new-content' );
11 $wp_admin_bar->add_node( $node );
12}
13The child items of "New" (Post, Media, Page, User) stay attached, because they point to the parent ID, not to a position. Test the result on a staging site first if you move several items, since some plugins expect their item in a fixed place.
How to Restyle the WordPress Admin Bar
To restyle the WordPress admin bar, change its colours with a small CSS block that targets #wpadminbar on both the admin and the front end, or use Admin Bar Editor Pro, which has colour, gradient, dropdown and New button style settings. The free Admin Bar Editor can also move the bar to the bottom of the screen.
A branded toolbar helps on client sites, where it is the first thing the client sees after login. Use the same colours as the admin menu so the two parts of the dashboard match.
Change the colours with CSS
1
2// Brand colours for the admin bar, in wp-admin and on the front end.
3add_action( 'admin_head', 'acme_toolbar_colours' );
4add_action( 'wp_head', 'acme_toolbar_colours' );
5
6function acme_toolbar_colours() {
7 if ( ! is_admin_bar_showing() ) {
8 return;
9 }
10 echo '<style>
11 #wpadminbar { background: #1e1b4b; }
12 #wpadminbar .ab-item,
13 #wpadminbar a.ab-item,
14 #wpadminbar .ab-label { color: #ffffff; }
15 #wpadminbar .ab-top-menu > li:hover > .ab-item,
16 #wpadminbar .ab-top-menu > li.hover > .ab-item { background: #312e81; color: #ffffff; }
17 #wpadminbar .ab-sub-wrapper { background: #312e81; }
18 </style>';
19}
20The is_admin_bar_showing() check stops the CSS from loading for visitors who never see the bar. If you only want CSS and no PHP, paste the rules inside the style tag into a custom admin CSS box and a front-end CSS box.
Change the position
The Advanced tab in Admin Bar Editor has a position setting that moves the bar from the top to the bottom of the screen. Some site owners prefer this on the front end, where the top bar covers part of a sticky header. Test your theme after the change, because fixed headers and cookie banners sometimes overlap a bottom bar.
How to Set Up Per-Role Toolbars in WordPress
A per-role toolbar shows different admin bar items to different user roles. In code, you check the current user's capability inside your admin_bar_menu function and remove or add nodes only for that group. Without code, Admin Bar Editor Pro adds Hidden For Rules to each item, where you pick the roles or users who should not see it.
Agencies often use this setup. Administrators keep the full bar with updates and plugin shortcuts, while editors get a short bar with New and their review links. Clients and shop managers see only the items they use.
Per-role toolbar with code
1
2// Administrators keep the full toolbar. Everyone else gets a short one.
3add_action( 'admin_bar_menu', 'acme_toolbar_per_role', 999 );
4
5function acme_toolbar_per_role( $wp_admin_bar ) {
6 if ( current_user_can( 'manage_options' ) ) {
7 return; // Administrators: change nothing.
8 }
9
10 $remove = array( 'wp-logo', 'comments', 'updates', 'customize', 'site-editor' );
11
12 foreach ( $remove as $id ) {
13 $wp_admin_bar->remove_node( $id );
14 }
15}
16Checking a capability such as manage_options or edit_others_posts is safer than checking a role name. It keeps working if you rename a role or create a custom role with a role editor such as RoleMaster Suite.
Per-role toolbar without code
Open an item in Admin Bar Editor and you see two tabs, Settings and Submenu. The Settings tab has Menu Title, Menu Link, Set Custom Icon and Hidden For Rules. Type a role or a username into Hidden For Rules, save, and that item stays hidden for those people only. Rules for chosen roles and usernames are part of Admin Bar Editor Pro.
Hiding the whole bar for a role
Some roles, such as subscribers or shop customers, do not need a toolbar at all. Hiding the bar for them is a different job from customizing it. Our guide on how to hide admin bar WordPress users see, per user or per role covers the Profile checkbox, the show_admin_bar filter and the no-code options step by step.
Admin Bar vs Admin Menu: What Is the Difference?
The admin bar is the horizontal strip along the top of the screen. The admin menu is the vertical sidebar on the left of wp-admin. They are separate systems with separate code hooks and separate editors. The admin bar also follows logged-in users onto the front end, while the admin menu only exists inside wp-admin.
They are styled separately too. New toolbar colours do not change the sidebar, and a new sidebar leaves the toolbar as it was. For a branded dashboard, set both. The WP Adminify Admin Menu Editor handles the sidebar: rename, reorder, hide items per role, change icons and set menu colours. For the full method, read how to use the WordPress admin menu editor, and for the whole dashboard, see our guide to customizing the WordPress dashboard.
WordPress Admin Bar Not Showing? Quick Fixes
If the WordPress admin bar is not showing on the front end, first check Users > Profile and make sure "Show Toolbar when viewing site" is ticked. If it is ticked, the cause is usually a theme that does not call wp_head() and wp_footer(), a plugin or snippet that returns false on the show_admin_bar filter, or a cached page.
- Check the profile setting. Go to Users > Profile, find Toolbar, tick Show Toolbar when viewing site and click Update Profile.
- Clear the cache. A page cache can serve a logged-out copy of the page. Purge the cache plugin and any CDN, then reload while logged in.
- Switch to a default theme for a minute. If the bar comes back with a default theme, your theme is missing the
wp_head()orwp_footer()call in its templates. - Look for a hide rule. Search your snippets and custom plugin for
show_admin_bar. Also check the Frontend tab in Admin Bar Editor, which has a switch that turns the front-end bar off.
Inside wp-admin, WordPress always shows the bar, so a missing bar there points to custom CSS or a plugin conflict. Deactivate plugins one at a time to find it.
Frequently Asked Questions
Is the WordPress toolbar the same as the admin bar?
Yes. WordPress uses the word Toolbar in the Profile screen and in its user documentation, and the word admin bar in its code, for example the admin_bar_menu hook and the WP_Admin_Bar class. Both names describe the same dark strip at the top of the screen that logged-in users see.
How do I customize the WordPress admin bar without a plugin?
Use the admin_bar_menu hook in a small custom plugin or a code snippet manager. Inside your function, remove_node() removes an item, add_node() adds or renames one, and get_node() reads an item so you can move it. Add CSS for #wpadminbar on admin_head and wp_head to change the colours.
Can I add a custom link to the WordPress admin bar?
Yes. Call add_node() on the admin_bar_menu hook with a unique id, a title and an href. Add a parent value to place the link inside an existing menu. Without code, Admin Bar Editor Pro has an Add Item button for new top-level and submenu links with your own titles and URLs.
Can each user role have a different admin bar?
Yes. In code, check a capability such as manage_options inside your admin_bar_menu function and remove nodes only for users who lack it. Without code, Admin Bar Editor Pro has a Hidden For Rules field on each item, where you choose the roles or usernames that should not see that item.
Does removing admin bar items remove features from WordPress?
No. Removing a toolbar item only removes the shortcut. The screens still exist and users can still reach them through the admin menu if their role allows it. To block access to a screen, change the role's capabilities with a role editor instead of hiding the link.
Can I move the WordPress admin bar to the bottom of the screen?
Yes. The free Admin Bar Editor plugin has a position setting on its Advanced tab that moves the bar to the bottom. With code, you can do the same with CSS that sets #wpadminbar to the bottom of the window and removes the top padding WordPress adds to the page.
Why are the Howdy options missing in WP Adminify?
WP Adminify hides the Remove Howdy and Change Howdy Text fields when the Admin Bar Editor plugin is active, because that plugin then controls the whole toolbar. The fields are also hidden when the Adminify UI is turned on. Deactivate Admin Bar Editor to use them, or rename the greeting with code.
Final Thoughts
Cleaning up the WordPress admin bar does not take long. Start by removing the core items your users never click, using the five Admin Bar Cleanup boxes in WP Adminify or a short remove_node() snippet. Then add two or three links your team uses often, drag the busy items to the left, and match the colours to your admin menu. Finish with a short per-role toolbar for clients and editors, and keep the full bar for administrators.
If you would rather do all of this from one settings screen, try the Admin Bar Editor feature. The free version handles removing, reordering and positioning, and Pro adds custom links, role rules and styling.



Your email address will not be published