Turn Off the Admin Toolbar in Settings
To remove the toolbar from your site, go to Users > Your Profile. Scroll down to “Toolbar” and check “Show Toolbar when viewing site.” And that’s all you need to do. The Toolbar will no longer appear on your site.
While the toolbar will stop displaying on the front-end of your site, it will continue to show on the backend of your site. It’s best to leave the backend toolbar as it is – it does contain important information about your site, after all.
Remove the Admin Toolbar with Code
If you would rather remove the toolbar with code, just drop the following snippet into your functions.php file:
This code will stop the toolbar from displaying on the front-end of your site.