Website Vidya
WordPressStep-by-Step Guide

How to Hide or Remove the WordPress Admin Toolbar

WordPress displays a toolbar at the top of every page by default. Whether you are viewing your website’s admin dashboard or any page, you will find this WordPress toolbar on every page and it is very annoying for most of the people. Moreove...

RR
Website Vidya TeamLead Systems Educator
Published:
2 min read
How to Hide or Remove the WordPress Admin Toolbar
AI Executive SummaryCORE CIS AI

2 min read

WordPress displays a toolbar at the top of every page by default. Whether you are viewing your website’s admin dashboard or any page, you will find this WordPress toolbar on every page and it is very annoying for most of the people. Moreove...

Key Highlights
  • Practical step-by-step engineering insights and best practices.
  • Architectural considerations and performance optimizations.
  • Verified configuration examples and troubleshooting solutions.
Grounded in full engineering runbookCORE CIS Ai Engine

WordPress displays a toolbar at the top of every page by default. Whether you are viewing your website’s admin dashboard or any page, you will find this WordPress toolbar on every page and it is very annoying for most of the people. Moreover, it is visible to the visitors as well which is even more frustrating. Your user can easily identify the platform you are using for your website. For security purpose, you might not want to show the toolbar.

For Designers, the toolbar can be a most irritating thing as it throws off the website look and feels. On the other hand, developers do not really prefer it using as it can add some extra bytes while loading your web page. Either way, the toolbar is not a good option to keep.

There are few ways to hide and Remove the WordPress Admin Toolbar. Let have a look at those ways.

Method 1: Turning Off the Toolbar in Admin Settings

To remove the toolbar from your site, you need to sign in into your admin panel of your website.

Now navigate to Users > Your Profile. Scroll down to "Toolbar" and check "Show Toolbar when viewing site" and finally update the change you made.

That is it! The Toolbar will no longer appear on your site but it will still appear in your admin panel. It’s always a good practice to leave the backend toolbar as it is as it gives us lots of important information about our site. In some cases the toolbar still there on the website and still visible to you and your visitors. So, in this case, we need to opt an alternate method by adding a one line code.

Method 2: Remove the Admin Toolbar with Code

Open the functions.php file by navigating to the theme directory of your website. Alternatively, Navigate to Appearance > Editor and finally open functions.php and add the following line at the end.

add_filter('show_admin_bar', '__return_false');

This code will stop the toolbar from displaying on your website.

Hope you will find this articles useful in removing the WordPress admin toolbar. I would like to hear your views in the comment section below. If you enjoyed reading this article, consider sharing it on Facebook, Twitter and Google Plus. Also, subscribe to our weekly newsletter to get our weekly updates and offers directly to your inbox.

Topics:#WordPress
Written by

Website Vidya Team

Technology educator and researcher at Website Vidya.

Discussion

0
Share your thoughts, ask a question, or suggest a tip...
Write →

No comments on this guide yet. Be the first to share your thoughts or ask a question!

Recommended Reading10 Guides

Related Technical Guides

Tested runbooks, server administration walkthroughs, and troubleshooting guides

WordPress•

How to Create a Table of Contents in WordPress

How to create a table of contents in WordPress? Did you ever want to add a table of contents just like Wikipedia has on its website? If yes, I’m going to show you a way that you use to put a similar table of contents box on your blog or web...

RR
Rajesh Rai
Read More
WordPress•

How to Upload SVG to WordPress - 3 Easy Methods

Do you want to embed SVG in the WordPress website? Learn how to upload SVG to WordPress effortlessly with 3 simple methods. Enhance your website with captivating graphics. This how-to guide is for all levels. By default, the WordPress conte...

RR
Rajesh Rai
Read More