WordPress Admin toolbar is toolbar at the top of page in frontend and backend when you are logged in. This tool helps you to switch page bettween frontend and backend. In fact many people want to remove this because they have dificulties when loading page in frontend. Specially, DIV element fixed.
This post will help you how to remove WordPress Adminbar for all User by put simple code in your theme’s functions.php file
Remove WordPress Adminbar for all User
Php function
add_filter('show_admin_bar', '__return_false');
- Open the functions.php file in your folder WordPress theme
- Insert this code to top
- Then you save and reload your site, the WordPress Adminbar removed.
Thanks for reading!