This walkthrough disables the WordPress.com admin bar when needed to reveal the default WordPress admin bar on WordPress.com sites using the Business plan.
- Install Code Snippets on your site: https://wordpress.com/plugins/code-snippets
- Activate code snippets either on that installation page or by going to My Site → WP-Admin → Plugins
- Go to My Site → WP-Admin → Snippets → Add New.
- Create a new snippet and name it Disable WordPress.com admin bar or something similar.
- Copy and paste the PHP code in the window below into the Code textarea.
- Choose "Run snippet everywhere."
- Save the changes.
Congratulations! You should now have the default WordPress admin bar on your WordPress.com site.
You welcome @jessestu. I add all my codes using this technique. Creating tiny plugins, enabling/disabling them, and like that I control my codebase and the app's health. Like that I exclude the need for another plugin on my site, another potential vulnerability problem.