InfoPhilic WordPress How to Disable WordPress Toolbar on your Website

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”.
SEMrush

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.

Amit Malewarhttps://www.infophilic.com/
Amit Malewar has been the tutorial writer since 2013. His passion for helping people in all aspects of technology flow through the expert coverage he provides. In addition to writing for InfoPhilic, Amit loves to read and try new things.

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

POPULAR NOW

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 can buy...

How to Remove jQuery Migrate in WordPress?

Learn how to remove jQuery Migrate from your WordPress site.

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,...

WP Super Cache Plugin: Best Settings & Configuration Guide

A cache plugin serves static contents to the visitor, which improves page load speed. There are so many cache plugins available in the WordPress plugin...

How To Reduce Admin-Ajax Server Load In WordPress

To increase better user experience, we always end up by increasing site speed. After clicking a website link seems like a simple thing. But...

DEALS

SEOPressor

SEOPressor plugin gives you maximum SEO clarity on your WordPress sites with features designed for controlling WordPress SEO with ease.

FREE E-BOOK