The Master Bar provided by

How to easily disable the toolbar

Sites hosted on get this toolbar at the top, called Master Bar, that replaces the traditional Admin Bar provided by WordPress, with handy access to your sites, so you can manage posts, pages, comments, and other areas of your website.

The Master Bar provided by

I think the toolbar is fine in 99% of the cases. The team makes a great job delivering useful decisions, rather than a plethora of options, to their users, and these are well thought decisions to empower the users to get the most of their sites. However, I like to have the option to edit a post or page quickly without having to look for an Edit link in the content body, and the toolbar removes this link, leaving only one to add a new post.

The other thing I prefer from Admin Bar, is that you always have Jetpack Stats visible on it, and you can quickly click and jump to them.

Finally, some plugins output useful information here, for example, Query Monitor, which is very useful while developing the site.

Remove the toolbar

Please note that in order to be able to do this, you need to have at least a Business plan in That plan allows you to upload plugins which is what we’ll create here. I created a folder named disable-masterbar in my computer, and inside it, I created a file named disable-masterbar.php where I wrote this snippet to disable the Master Bar. Then I compressed the folder to a file:

 * Plugin Name: Disable Master Bar
 * Plugin URI:
 * Description: Disable Master Bar
 * Author: Elio Rivero
 * Version: 0.0.7
 * Author URI:
 * License: GPL2
 * License URI:

 * Filter the Jetpack module list and remove MasterBar.
 * @param array $modules Collection of Jetpack modules.
 * @return array
function startfunction_no_masterbar ( $modules ) {
    if ( isset( $modules['masterbar'] ) ) {
      unset( $modules['masterbar'] );
    return $modules;
add_filter( 'jetpack_get_available_modules', 'startfunction_no_masterbar' );

This uses a filter provided by Jetpack, that powers behind the scenes. That filter allows us to modify the list of modules available to exclude the Master Bar.

Then in, I went and selected my site, then clicked on Tools > Plugins in the sidebar, and finally clicked on the Install Plugin button

Uploaded the zip file for my plugin, activated it and now the toolbar is gone, and I have the traditional toolbar back in its place.

The Admin Bar provided by

Honestly, if the toolbar included a link to edit the current page or post, I wouldn’t disable it because I find it useful to quickly access the admin and manage my different sites.

Hope it’s useful for you and if you use it, let me know in the comments!

4 thoughts on “How to easily disable the toolbar”

  1. Hi! It’s seems to be not working anymore in 2022 :'( Did you managed by any chance to replicate this to the updated wordpress? The admin bar really sucks, especially with my theme. Thanks in advance Lorenzo

    1. Hi Lorenzo, this is still working fine on this site. I actually deactivated the plugin and reactivated it again to ensure it was working. And yeah as soon as I deactivated it I saw the WPcom admin bar, so I reactivated it to make it go away. Ensure you uploaded it correctly and you can see it in your plugins section.

  2. Thanks 🙂 I surely made a mistake then. If it’s no bother for you, could you send me the file so i can double check it? Don’t worry if you can’t find the file anymore, i’ve already found a workaround, it’s just more boring to work with.

    P.S: i saw the plugin in the plugin list, but the admin bar was the same and a weird code appeared on top.

Leave a Reply