• Categories
    • Tutorials
    • Beginners Guide
    • WordPress News
    • WordPress Security
    • Best WordPress Plugins
    • WordPress Themes
    • Product Reviews
    • WP Tips & Tricks
  • Guides
    • Start a Blog
    • Make a Website
    • WordPress Hosting
  • WordPress Hosting
    • A2 Hosting
    • HostGator
    • Bluehost
    • Cloudways
  • Managed Hosting
    • WPEngine
    • Rocket.net
    • WPX
    • Kinsta
  • Coupons
    • WPEngine
    • Flywheel
    • Cloudways
    • A2 Hosting
    • WPX Hosting
WordPress Tutorials

How to Hide WordPress Admin Toolbar From Your WordPress Site

Last Updated on: January 6, 2017 Rafay 6 Comments

How to Hide WordPress Admin Toolbar From Your WordPress Site

A large number of websites are powered by WordPress and there are tons of different plugins and themes being developed for this powerful content management system. But just like everything it also has some defects that we’d like to change.

The WordPress toolbar is one such design element that some users prefer to have in place while others would do better without it – especially when previewing their WordPress site.

In this article, we’ll walk you through a tutorial on how to hide the WordPress toolbar from the admin panel. Those of you who aren’t programming literate or don’t feel comfortable tweaking their site’s core files can opt for the easier alternative that doesn’t require any coding efforts.

Without further ado, let’s get started.

What Is the WordPress Toolbar?

The Toolbar is an area of the screen just above the site that lists useful administration screen links such as add a new post or edit your profile. –WordPress.org

The WordPress toolbar functions as a navigation bar of sorts that contains links to WordPress related information, reviewing comments, adding posts, and switching between the admin panel and your site. The toolbar also enables users to log out of their site’s admin panel safely and visit the admin panel’s customization pages.

toolbar

Granted, the WordPress toolbar has a wide range of benefits in store for webmasters, it’s presence on the site’s front end during a user session is often unwanted. Let’s take a look at how you can hide the WordPress toolbar from your site’s front end.

How to Hide the WordPress Toolbar

Now that you know what the WordPress toolbar is and how it serves as a quick navigation bar, let’s move on to the tutorial. In this section, we’ll cover two methods of hiding the WordPress toolbar.

Remove the Admin Toolbar with a simple code

Paste this code into the functions.php file, it can be found in your theme folder:

add_filter('show_admin_bar', '__return_false');

Once you re-load your WordPress website, you should see the changes take immediate effect i.e. you won’t be able to see the WordPress toolbar anymore.

Disable the Admin Toolbar in Settings / Profile Page

Another much easier method is to turn off the toolbar through the Settings Page. Login to your dashboard site and go your profile page (dashboard > users > select your profile).

In the Toolbar section, un-tick the box labeled Show Toolbar when viewing site.

show-toolbar

Click the Update Profile button once you’re done.

By now you’ve successfully disabled the toolbar off of the front-end of your site although it will still be visible from the back-end of your site. Removing or hiding the toolbar from your site’s backend could lead to several unwanted problems. For instance, logging out from your admin panel wouldn’t be as simple as hovering over your username and clicking Log Out.

Wrapping It Up

As useful as the WordPress toolbar is on a site’s back end, it isn’t anywhere near as beneficial for us on the site’s front end. Previewing design changes to the site or tweaking CSS code from time to time are a lot easier and cleaner to view with the absence of the WordPress toolbar.

Did you encounter any problems hiding the WordPress toolbar from your site’s back end? If you have any questions or need any help, let us know in the comments section below!

+ Share
Disclosure

Rafay

Related Posts

Back to all articles
  • How to Increase the Memory Limit in WordPress

    How to Increase the Memory Limit in WordPress

  • What is WordPress? A Beginner's Guide!

    What is WordPress? What Can it do & Is it Right for You? A Beginner’s Guide

  • How to Use Git to Push Your Local Site Live

    How to Use Git to Push Your Local Site Live

Coupons

View more deals
  • Recipe Card Blocks Coupon
    15% OFF

    Recipe Card Blocks Coupon

    Running a cooking or food website can be fun (and tasty) – but
    Get This Deal
  • WP 2FA Coupon
    20% OFF

    WP 2FA Coupon

    Security should be at the forefront of all site owner’s min
    Get This Deal
  • Themskingdom Coupon
    20% OFF

    ThemesKingdom Coupon

    First impressions count. As such, you’ll want a WordPress t
    Get This Deal
6 Comments Leave a Reply
  1. neeta bansal says

    January 9, 2017 at 9:19 am

    Great ,it is very helpful to remove the toolbar, thank you for sharing the clear description of every points,well done.

    Reply
  2. Folly says

    March 13, 2017 at 7:40 am

    Hello, i have tried a lot of snippet code , any is not working for me.

    Reply
  3. Safar Ali says

    October 25, 2018 at 4:45 pm

    Doesn’t work ;(

    Reply
    • editorial-staff says

      October 26, 2018 at 3:34 am

      Disabling it in the options does not work?

      Reply
      • Toby says

        November 10, 2018 at 5:14 am

        Yup – it doesn’t work – you uncheck it, save changes then it’s checked back on again; despite you unchecking and saving.

        Reply
        • editorial-staff says

          November 10, 2018 at 10:15 am

          First make sure to update WordPress if you’re not using the latest version.

          If that’s not it then the theme or some plugin is interfering with the saving. First try switching to a default WP theme and try changing the settings. If it works then there’s an issue in the theme and you should contact the theme author to let him know about the issue ( but when you switch back to the theme you’re using it should still be disabled ).

          If it doesn’t work then try disabling plugins one by one and when you disable a plugin try the option. First disable the plugins that are related to users and user management ( if you have any ).

          Reply

Leave a Reply Cancel reply

Full Disclosure This post may contain affiliate links, meaning that if you click on one of the links and purchase an item, we may receive a commission (at no additional cost to you). All opinions are our own and we do not accept payments for positive reviews.

THE BEST OF WPKUBE

Some of the best content we have published so far.

BEGINNER GUIDES & REVIEWS

18 Best Cheap WordPress Hosting Providers in 2023 (From $1.99)
210 Best WordPress Hosting Options for 2023 (Pros & Cons)
38 Best Managed WordPress Hosting Providers for 2023 Compared
45 Best WooCommerce Hosting Providers Compared in 2023 (All Budgets)
5Top 9 Landing Page Plugins for WordPress (2023)
69 Best List Building Plugins for WordPress In 2023
7How to Fix the 500 Internal Server Error on Your WordPress Website
8Thrive Themes Review: A Look At The Full Membership
9Beaver Builder Review: Is it The Best Page Builder Plugin for WordPress (2023)?
10OptimizePress Review: Create Landing Pages with Ease
11How to Make a Website: Complete Beginner’s Guide
12Top 22 Best Free Stock Photo Resources For Your Site
1317 of the Best Google Fonts for 2023 (And How to Use Them in WordPress)
14How to Start a Blog in 2022 (Step by Step Guide)
15How To Fix ‘503 Service Unavailable’ WordPress Error
1611 Best Contact Form Plugins for WordPress in 2023
17How to Add a Custom Logo to Your WordPress Site
18How to Fix Error Establishing a Database Connection in WordPress

WPEngine: 50% OFF Deal

Save 50% on one of the best managed hosting providers.

Get this Deal

Flywheel(our review)

Our Newsletter

Get awesome content delivered straight to your inbox.

Thank you!

You have successfully joined our subscriber list.

.
Featured In Forbes Huffpost Entrepreneur SEJ

About WPKube

WPKube is an online WordPress resource which focuses on WordPress tutorials, How-to’s, guides, plugins, news, and more. We aim to provide the most comprehensive beginner’s guides to anything about WordPress — from installing plugins, themes, automated installs and setups, to creating and setting up pages for your website.

We have over 500+ tutorials, guides, product reviews, tips, and tricks about WordPress. Founded by Devesh Sharma, the main goal of this site is to provide useful information on anything and everything WordPress.

Twitter Facebook

Useful Links

  • Behind the Scenes
  • Beginner Guides
  • WordPress Hosting
  • WooCommerce Themes
  • MeridianThemes
  • Exclusive WordPress Deals
View All Guides »

Reviews

  • WPEngine 33% OFF
  • Thrive Leads
  • Flywheel 33% OFF
  • Divi Theme 20% OFF
  • Thrive Architect
  • Elegant Themes
Reviews »

Deals

  • InMotion Hosting
  • LifterLMS Coupon
  • LiquidWeb Coupon
  • WPEngine Coupon
  • A2 Hosting
  • FloThemes
More Deals »
© Copyright 2023 WPKube ® All Rights Reserved.
  • Contact
  • Site Terms
  • Disclosure
  • Privacy Policy