Remove top tool bar
-
Hi All
I need to remove the top toolbar for logged in users and if need be admin if that’s the only way to fix this. I have tried plugin’s and different bits of code as below but still the toolbar appears.
tried this in functions.php of my template
add_filter(‘show_admin_bar’, ‘__return_false’);
Also tried this 1
if (!current_user_can(‘manage_options’)) {
add_filter(‘show_admin_bar’,’__return_false’);
}Nothing seems to work. Can anyone help here please
Thanks
Glenn
- The topic ‘Remove top tool bar’ is closed to new replies.