How to Remove the WordPress Admin Toolbar

If you are logged in into your WordPress blog, WordPress automatically displays a toolbar at the top. This tool bar contains few links to go to the specific section of admin panel or perform quick actions of other plugins. Sometimes this toolbar overlaps the top section of the blog and looks irritating if you have added something at the top. It also ruin the WordPress theme design in few cases. So, you can disable this tool bar from appearing the at top.
Also Read: How to Schedule Your Posts in WordPress
Disabling this tool bar is easy and can be performed from the user profile section. You do not need to install a WordPress plugin for this. Just hover the Users menu at the left side bar of admin dashboard and then select ‘Your Profile’ option. In profile page, find toolbar option and unselect the select box to stop the toolbar from appearing at the top while viewing the website.
If you want to bring this tool bar back, you need to follow the same steps and select the checkbox in front of toolbar in profile section.
After this, toolbar will not appear while viewing the website. But it will be there while accessing the admin section of the website. And removing this from admin section does not make any sense. But if you want to remove it from admin section too, you can add a one line code in the functions.php file to remove this completely.
add_filter('show_admin_bar', '__return_false’);
By following the above methods, you can quickly remove the WordPress admin toolbar from the top of the WordPress blog.
Access more WordPress snippets here.
Leave a comment
Comment policy: We love comments and appreciate the time that readers spend to share ideas and give feedback. However, all comments are manually moderated and those deemed to be spam or solely promotional will be deleted.