Hide Toolbar from all users (except for admin)

1. Hide Toolbar from specific users

Toolbar is showing as default for the users after they login. You can hide Toolbar from specific users by disabling Toolbar option in the user profile.

2. Hide Toolbar from all users (except for admin)

It takes lots of time to hide Toolbar from users one by one. You can hide Toolbar from all users (except for admin) at once just by some lines of code :)

– Install Child Theme (Dashboard >> Course Builder >> Child Themes).

– In the functions.php file of the child theme, put the following code:

if ( ! current_user_can( 'manage_options' ) ) {
add_filter('show_admin_bar', '__return_false', 1000);
}

Done! Now Toolbar is hidden from all users.

Best Deals
Get Eduma Now

For Only *
$439 $69

 
GRAB THE DEAL
* Hurry up! Offer ends this Friday!
close-link
ấdsa
ádasd
ádsad
Subscribe
Give it a try, you can unsubscribe anytime.
close-link
20% OFF all LearnPress premium add-ons

GET 20% OFF COUPON NOW
Your information will never be shared
close-link
Download
LEARNPRESS
WordPress LMS
Download the best WordPress LMS now. Completely Free.
close-link
Learn More