ThimPressThimPress ThimPress
  • Themes
    • WordPress Theme
    • Shopify Theme
    • Magento Theme
    • All Themes
  • Plugins
    • LearnPress
    • LearnPress Pro Bundle
    • LearnPress Semi-Pro Bundle
    • LearnPress Premium Add-ons
    • LearnPress Free Add-ons
    • LearnPress Mobile App
    • All Plugins
  • Blog
    • Best SEO Practice for Beginners
    • Internal link building tools
    • WordPress for Education
    • What are Sentiment Words
    • 20+ Free Shopify Themes
  • Coupons
  • Help Center
    • Support Forum
    • Ticket Center
    • Documentation
    • Knowledge Base
    • FAQs
    • Contact Us
  • Our Services
    • Customization
    • Maintainance
    • Hosting
    • Advertise
  • 0
  • Sign in
Back
  • Themes
    • WordPress Theme
    • Shopify Theme
    • Magento Theme
    • All Themes
  • Plugins
    • LearnPress
    • LearnPress Pro Bundle
    • LearnPress Semi-Pro Bundle
    • LearnPress Premium Add-ons
    • LearnPress Free Add-ons
    • LearnPress Mobile App
    • All Plugins
  • Blog
    • Best SEO Practice for Beginners
    • Internal link building tools
    • WordPress for Education
    • What are Sentiment Words
    • 20+ Free Shopify Themes
  • Coupons
  • Help Center
    • Support Forum
    • Ticket Center
    • Documentation
    • Knowledge Base
    • FAQs
    • Contact Us
  • Our Services
    • Customization
    • Maintainance
    • Hosting
    • Advertise
  • Home
  • Knowledge Base

CorpTrain – Hide Toolbar from all users (except for admin)

  • Share
  • Facebook

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.

Screenshot 10

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);
}

download

Done! Now Toolbar is hidden from all users.

Latest Articles

  • LearnPress v4.2.5.7

    LearnPress v4.2.5.7 Update: What to Expect?

  • Top Free WordPress Redirect Plugins

    Boost Your SEO and User Experience with The Free WordPress Redirect Plugins

  • Best Magento 2 AI ChatGPT Extension

    Start Generating Amazing Content with These Top Magento 2 AI ChatGPT Extensions

  • Best AI Marketing Tools

    Exploring The Hottest AI Marketing Tools Trending Now

  • Use License on Wrong Site

    Use License on Wrong Site: What to Do Now?

Categories

  • Blog
  • Tutorials & Updates
  • Marketing & SEO
  • WordPress Theme Collections
  • Glossary
thimpress logo

We are a company that is passionate about developing products to help you build your business online. Our very first priority is to guarantee our customers’ experience and satisfaction.

"ThimPress" is a brand of "PhysCode LLC".

- Headquarters: 14936 DILLOW ST, #V301, Westminster, CA 92683.
- Vietnam Office: 143 Nguyen Tuan Street, Hanoi, Vietnam.
- Republic of Korea Office: 469, Dongdaegu-ro, Dong-gu, Daegu, Republic of Korea.

Email: [email protected]


COMPANY

  • Privacy Policy
  • Terms & Conditions
  • Refund Policy
  • Item Support Policy
  • Partner
  • Advertise

AFFILIATE

  • Become an Affiliate
  • Affiliate Terms & Policies

SUPPORT

  • Documentation
  • Forum
  • How to get help

PRODUCT

  • WordPress Plugins
  • WordPress Themes
  • Shopify Themes
  • Magento Theme
  • Coupons
  • Our Showcase

Our Network

  • Facebook
  • Twitter
  • Envato
  • Youtube
  • PhysCode
  • ArrowTheme

Special offer promotion

Up To 30% OFF
Themes and Add-ons
Expire on 15 December
Claim Deals
Designed by ThimPress. Powered by WordPress.
DMCA.com Protection Status
  • Terms & Conditions
  • Documentation

Sign In

Lost your password?

Not a member yet? Sign up now

Lost Password

Please enter your username or email address. You will receive a link to create a new password via email.

Are you a member? Sign in now