How to Disable WordPress Toolbar on your Website

The WordPress Toolbar is an area appears on the top of the screen that lists useful administration screen links such as add a new post or edit your profile. It includes links to information about WordPress, as well as quick-links to create new posts, pages, and links, add new users, review comments, and notifications for available updates to plugins and themes on your website.

You might have noticed that WordPress automatically displays an admin bar once you logged in. Most of the time, whether you are working at backend or at the front end, sometimes, it’s really annoying and distracting.

WordPress Toolbar
WordPress Toolbar

Well, it’s really easy to turn off the Toolbar option. In this guide, I will tell, how you can disable the WordPress toolbar. Let’s move forward.

1. Removing Admin Toolbar from Profile Settings:

Disable WordPress Toolbar when viewing site
Disable WordPress Toolbar when viewing site

  • Go to Users >> Your Profile.
  • Scroll down to “Toolbar” and uncheck “Show Toolbar when viewing site”.

Doing this, the toolbar will no longer appear on your site on the front end.

Note: This will disable WordPress toolbar for a particular user. It will continue to display on the backend of your site.

2. Remove Admin Toolbar with Code

To remove toolbar with the code, you just need to add the following snippet to your theme’s functions.php file.

// Disable Admin toolbar on frontend
add_filter('show_admin_bar', '__return_false');

This code will stop the toolbar from displaying on the front-end of your site. You will have to add this code again when you update your theme. So, it’s better to create a child theme.

Conclusion:

In my view, the toolbar is really useful and beneficial in both back and front end. It still your wish whether you want to keep it or not.

I hope, you find this straight-forward how-to helpful. Let me know, which method you have used in the comment section below.

ALSO READ

Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.

Comment Policy: Your words are your own, so be nice and helpful if you can. Please, only use your real name and limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

GET STARTED

Start WordPress Blog: Ultimate Guide For Beginners

Here is our step by step guide for beginners to start a WordPress blog.

Top 6 Best WordPress Theme Frameworks

There are many websites themes which are created by using a framework. Likewise, WordPress Theme frameworks also becoming so popular. The framework allows you...

The Most Essential WordPress Plugins

Here, I have listed some excellent plugins which will surely add more features and new functionality to your WordPress blog.

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

The Ultimate Guide to Harden WordPress Security

Learn how to improve WordPress security. Here are some basic security concepts that will help you to harden WordPress security.

How to Setup CloudFlare Free SSL for WordPress Blog

Google has announced that they will count HTTPS as a ranking factor which means if you using HTTPS you will get a higher position...

DEALS

SiteGround Hosting

Web Hosting Crafted For Superior Experience

POPULAR NOW

How to Remove jQuery Migrate in WordPress?

jQuery Migrate greatly simplifies the process of moving older jQuery code to a higher jQuery version by identifying deprecated features. It then restores deprecated...

Get almost 100% PageSpeed on Newspaper theme

The newspaper theme is the most popular premium theme for a self-hosted WordPress blog. The theme is developed by team tagDiv. You...

How to Delete Multiple Images in WordPress Media Gallery

Hey, guys today one of my friends asked me a question, How can I delete Multiple Images in WordPress? I replied, "It's very simple." Yeah,...

Xperia Home Launcher: Install on any Android Device (No Root)

Hey, guys today through this tutorial you are going to learn how to install Xperia Home Launcher on any Android device without any root. Also...

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

How to Display Featured Image Before or After Entry Title in Genesis

Learn how to add featured image to a single post or a page in Genesis child themes. You can set it to display featured...