ThimPressThimPress ThimPress
  • Home
  • Best Deals
    • Eduma – Education WordPress Theme – $439 $69 Only!
    • Eduma Mobile – React Native LMS Mobile App for iOS & Android – $149 $54 Only!
    • Storepify – Minimal Multipurpose Shopify Theme – $89 $29 Only!
    • Sailing | Hotel WordPress Theme – $54 Only!
    • LuxStay – Hotel & BnB WordPress Theme – $54 Only!
    • Coaching – Life And Business Coach WordPress Theme – $54 Only!
    • Course Builder – Online Course WordPress Theme – $49 Only!!
    • StarKid – Kindergarten WordPress Theme – $44 Only!
    • IvyPrep – Education & School WordPress Theme – $44 Only!
  • LearnPress
    • LearnPress – LMS WordPress Plugin
    • LearnPress Add-Ons
    • LearnPress PRO Bundle
    • LearnPress Store
    • Eduma Mobile App
    • LearnPress Mobile App
  • Plugins
    • All
    • LearnPress Add-Ons
    • Create Courses Add-Ons
    • Manage Courses Add-Ons
    • Sell Courses Add-Ons

    Plugins33

    LearnPress Pro Bundle (690x460)
    LearnPress PRO Bundle
    LearnPress Semi-Pro Bundle (690x460)
    LearnPress Semi-Pro Bundle
    WooCommerce add on for LearnPress 690x460px
    WooCommerce Add-On for LearnPress
    live course
    Live Course Add-On for LearnPress

    LearnPress Add-Ons33

    LearnPress Pro Bundle (690x460)
    LearnPress PRO Bundle
    LearnPress Semi-Pro Bundle (690x460)
    LearnPress Semi-Pro Bundle
    WooCommerce add on for LearnPress 690x460px
    WooCommerce Add-On for LearnPress
    live course
    Live Course Add-On for LearnPress

    Create Courses Add-Ons7

    Paid Memberships Pro 690x460px 1
    Paid Memberships Pro Add-On for LearnPress
    Frontend Editor 690x460px
    Frontend Editor Add-On for LearnPress
    Assignments 690x460px
    Assignments Add-On for LearnPress
    Random Quiz 690x460px
    Random Quiz Add-On for LearnPress

    Manage Courses Add-Ons17

    live course
    Live Course Add-On for LearnPress
    Certificates 690x460px
    Certificates Add-On for LearnPress
    Gradebook 690x460px
    Gradebook Add-On for LearnPress
    WPML addon 690x460
    WPML Add-On for LearnPress

    Sell Courses Add-Ons7

    WooCommerce add on for LearnPress 690x460px
    WooCommerce Add-On for LearnPress
    Paid Memberships Pro 690x460px 1
    Paid Memberships Pro Add-On for LearnPress
    Stripe add on for LearnPress 690x460px
    Stripe Add-On for LearnPress
    2Checkout add on for LearnPress 690x460px
    2Checkout Add-On for LearnPress
  • Themes
    • All
    • Education Themes
    • Shopify Themes
    • Hotel Themes
    • WordPress Blog & Magazine Themes
    • Free
    • E-Commerce Themes

    Themes16

    EduPress - Education WordPress Starter Theme for LearnPress
    Education WordPress Starter Theme For LearnPress
    RealPress - Real Estate WordPress Theme
    RealPress – Real Estate WordPress Theme
    Eduma - Premium LMS WordPress Theme
    Eduma | LMS WordPress Theme
    Coaching | Life and Business Coach WordPress Theme
    Coaching | Life & Business Coach WordPress Theme

    Education Themes7

    Eduma - Premium LMS WordPress Theme
    Eduma | LMS WordPress Theme
    Coaching | Life and Business Coach WordPress Theme
    Coaching | Life & Business Coach WordPress Theme
    course builder
    CorpTrain | Corporate Training WordPress Theme
    onelms education wordpress theme
    OneLMS – Education WordPress Theme

    Shopify Themes1

    Storepify - Minimal Multipurpose Shopify Theme
    Storepify – Minimal Multipurpose Shopify Theme

    Hotel Themes3

    Sailing Hotel WordPress Theme
    Sailing | Hotel WordPress Theme
    hotel
    LuxStay | Hotel & BnB WordPress Theme
    luxhotel hotel & bnb wordpress theme
    LuxHotel – Hotel WordPress Theme

    WordPress Blog & Magazine Themes3

    megabuilder
    MegaBux | Construction WordPress Theme
    magwp
    Magie | Magazine WordPress Theme
    magazette travel
    Magazette | News & Magazine WordPress Theme

    Free2

    EduPress - Education WordPress Starter Theme for LearnPress
    Education WordPress Starter Theme For LearnPress
    education pack
    Education Pack: #1 Free Education WordPress Theme

    E-Commerce Themes1

    RealPress - Real Estate WordPress Theme
    RealPress – Real Estate WordPress Theme
  • Blog
    • WordPress Theme Collections
    • WordPress Plugin Collections
    • Shopify
    • Education & LMS
    • Marketing & SEO
    • Tutorials & Docs
  • Our Services
    • Customization
    • Maintenance Service
    • Hosting Service
    • Advertise
  • Help Center
    • Support Forums
    • Ticket Center
    • Documentation
    • Knowledge Base
    • FAQs
    • Contact us
  • 0
  • Sign in

    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

Back
  • Home
  • Best Deals
    • Eduma – Education WordPress Theme – $439 $69 Only!
    • Eduma Mobile – React Native LMS Mobile App for iOS & Android – $149 $54 Only!
    • Storepify – Minimal Multipurpose Shopify Theme – $89 $29 Only!
    • Sailing | Hotel WordPress Theme – $54 Only!
    • LuxStay – Hotel & BnB WordPress Theme – $54 Only!
    • Coaching – Life And Business Coach WordPress Theme – $54 Only!
    • Course Builder – Online Course WordPress Theme – $49 Only!!
    • StarKid – Kindergarten WordPress Theme – $44 Only!
    • IvyPrep – Education & School WordPress Theme – $44 Only!
  • LearnPress
    • LearnPress – LMS WordPress Plugin
    • LearnPress Add-Ons
    • LearnPress PRO Bundle
    • LearnPress Store
    • Eduma Mobile App
    • LearnPress Mobile App
  • Plugins
    • All
    • LearnPress Add-Ons
    • Create Courses Add-Ons
    • Manage Courses Add-Ons
    • Sell Courses Add-Ons

    Plugins33

    LearnPress Pro Bundle (690x460)
    LearnPress PRO Bundle
    LearnPress Semi-Pro Bundle (690x460)
    LearnPress Semi-Pro Bundle
    WooCommerce add on for LearnPress 690x460px
    WooCommerce Add-On for LearnPress
    live course
    Live Course Add-On for LearnPress

    LearnPress Add-Ons33

    LearnPress Pro Bundle (690x460)
    LearnPress PRO Bundle
    LearnPress Semi-Pro Bundle (690x460)
    LearnPress Semi-Pro Bundle
    WooCommerce add on for LearnPress 690x460px
    WooCommerce Add-On for LearnPress
    live course
    Live Course Add-On for LearnPress

    Create Courses Add-Ons7

    Paid Memberships Pro 690x460px 1
    Paid Memberships Pro Add-On for LearnPress
    Frontend Editor 690x460px
    Frontend Editor Add-On for LearnPress
    Assignments 690x460px
    Assignments Add-On for LearnPress
    Random Quiz 690x460px
    Random Quiz Add-On for LearnPress

    Manage Courses Add-Ons17

    live course
    Live Course Add-On for LearnPress
    Certificates 690x460px
    Certificates Add-On for LearnPress
    Gradebook 690x460px
    Gradebook Add-On for LearnPress
    WPML addon 690x460
    WPML Add-On for LearnPress

    Sell Courses Add-Ons7

    WooCommerce add on for LearnPress 690x460px
    WooCommerce Add-On for LearnPress
    Paid Memberships Pro 690x460px 1
    Paid Memberships Pro Add-On for LearnPress
    Stripe add on for LearnPress 690x460px
    Stripe Add-On for LearnPress
    2Checkout add on for LearnPress 690x460px
    2Checkout Add-On for LearnPress
  • Themes
    • All
    • Education Themes
    • Shopify Themes
    • Hotel Themes
    • WordPress Blog & Magazine Themes
    • Free
    • E-Commerce Themes

    Themes16

    EduPress - Education WordPress Starter Theme for LearnPress
    Education WordPress Starter Theme For LearnPress
    RealPress - Real Estate WordPress Theme
    RealPress – Real Estate WordPress Theme
    Eduma - Premium LMS WordPress Theme
    Eduma | LMS WordPress Theme
    Coaching | Life and Business Coach WordPress Theme
    Coaching | Life & Business Coach WordPress Theme

    Education Themes7

    Eduma - Premium LMS WordPress Theme
    Eduma | LMS WordPress Theme
    Coaching | Life and Business Coach WordPress Theme
    Coaching | Life & Business Coach WordPress Theme
    course builder
    CorpTrain | Corporate Training WordPress Theme
    onelms education wordpress theme
    OneLMS – Education WordPress Theme

    Shopify Themes1

    Storepify - Minimal Multipurpose Shopify Theme
    Storepify – Minimal Multipurpose Shopify Theme

    Hotel Themes3

    Sailing Hotel WordPress Theme
    Sailing | Hotel WordPress Theme
    hotel
    LuxStay | Hotel & BnB WordPress Theme
    luxhotel hotel & bnb wordpress theme
    LuxHotel – Hotel WordPress Theme

    WordPress Blog & Magazine Themes3

    megabuilder
    MegaBux | Construction WordPress Theme
    magwp
    Magie | Magazine WordPress Theme
    magazette travel
    Magazette | News & Magazine WordPress Theme

    Free2

    EduPress - Education WordPress Starter Theme for LearnPress
    Education WordPress Starter Theme For LearnPress
    education pack
    Education Pack: #1 Free Education WordPress Theme

    E-Commerce Themes1

    RealPress - Real Estate WordPress Theme
    RealPress – Real Estate WordPress Theme
  • Blog
    • WordPress Theme Collections
    • WordPress Plugin Collections
    • Shopify
    • Education & LMS
    • Marketing & SEO
    • Tutorials & Docs
  • Our Services
    • Customization
    • Maintenance Service
    • Hosting Service
    • Advertise
  • Help Center
    • Support Forums
    • Ticket Center
    • Documentation
    • Knowledge Base
    • FAQs
    • Contact us
  • Home
  • Knowledge Base

Hide WordPress toolbar from users except for admin and instructor

  • Share
  • Facebook
  • Pinterest

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

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

$user = wp_get_current_user();
if ( in_array( 'instructor', (array) $user->roles ) ) {
} elseif ( in_array( 'administrator', (array) $user->roles )) {
show_admin_bar(true);
}elseif ( in_array( 'lp_teacher', (array) $user->roles )) {
show_admin_bar(true);
} else {
show_admin_bar(false);
}

Screenshot 1 2

Latest Articles

  • wordpress

    WordPress.com vs WordPress.org: Which is Better?

  • weebly vs wix

    Weebly vs Wix – 2023 Comparison for eCommerce and Blogging

  • What Graphics Card Do I Have

    What Graphics Card Do I have? Here’s How to Check Graphics Card

  • What Is Memory Usage

    What Is Memory Usage?

  • What Is MySQL

    What Is MySQL?

Categories

  • Blog
  • Tutorials & Updates
  • WordPress Theme Collections
  • Marketing & SEO
  • WordPress Plugin Collections

FEATURE THEMES

Education WordPress Theme | Eduma
$69
Education WordPress Theme | Eduma

Live DemoBuy Theme

Coaching | Coaching WordPress Theme
$54
Coaching | Coaching WordPress Theme

Live DemoBuy Theme

CorpTrain | Corporate Training WordPress Theme
$49
CorpTrain | Corporate Training WordPress Theme

Live DemoBuy Theme

Hotel WordPress Theme | Sailing
$54
Hotel WordPress Theme | Sailing

Live DemoBuy Theme

Hotel & BnB WordPress Theme | LuxStay
$54
Hotel & BnB WordPress Theme | LuxStay

Live DemoBuy Theme

Charitix | Nonprofit Charity WordPress Theme
$44
Charitix | Nonprofit Charity WordPress Theme

Live DemoBuy Theme

IvyPrep | Education & School WordPress Theme
$44
IvyPrep | Education & School WordPress Theme

Live DemoBuy Theme

Restaurant WordPress Theme - Resca
$44
Restaurant WordPress Theme - Resca

Live DemoBuy Theme

ADD-ONS FOR LEARNPRESS

  • Combo LearnPress Pro Bundle (690x460)Read more

    LearnPress PRO Bundle

    $610 $299

    The next level of LearnPress - LMS WordPress Plugin. More Powerful, Flexible and Magical Inside.

  • Combo LearnPress Semi-Pro Bundle (690x460)Read more

    LearnPress Semi-Pro Bundle

    $210 $149

    5 Most Powerful as well as Most Wanted Premium LearnPress Add-ons. Compact but Fabulous.

  • Add to cart

    WooCommerce Add-On for LearnPress

    $49

    Easy to connect WooCommerce to your LMS website, easy to sell your courses online with no obstacle.

  • Add to cart

    Live Course Add-On for LearnPress

    $19

    Create courses and live video meetings using Zoom or Google Meet Use shortcode to show the meeting content.

  • Add to cart

    Certificates Add-On for LearnPress

    $39

    Add Drag & Drop certificates builder as well as select designed certificates templates for each LMS course.

  • Add to cart

    Gradebook Add-On for LearnPress

    $39

    Track process and result of students in each LMS course. Allow to export the gradebook to CSV.

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".
Address: 14936 DILLOW ST, #V301, Westminster, CA 92683.
Email: [email protected]


COMPANY

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

AFFILIATE

  • Become an Affiliate
  • Affiliate Terms & Policies

SUPPORT

  • Documentation
  • Forum
  • How to get help

PRODUCT

  • WordPress Plugins
  • WordPress Themes
  • Shopify Themes
  • Advertise
  • Partner

FIND US ON

  • Facebook
  • Twitter
  • Envato
  • Youtube
Designed by ThimPress. Powered by WordPress.
DMCA.com Protection Status
  • Terms & Conditions
  • Documentation