Wednesday, 18 January 2017

How to Remove Admin Toolbar in Wordpress

WordPress automatically displays the toolbar menu at the top of the page of your WordPress site when login. This toolbar menu look good when you're on the WordPress dashboard.

For developers of WordPress or WordPress users or anyone, the toolbar menu that appears at the front of the site can be a little annoying, and also eliminates the bit theme design, especially if you have some CSS styling that may not be visible when the admin toolbar is displayed.

And in this article I will show you how to remove or hide the Admin Toolbar from the front-end of your site. I will give you guidance in two ways, ie you can eliminate the toolbar from WordPress settings, through the admin and also by adding a bit of code on functions.php. But before heading to the tutorial, you should first understand what it was WordPress Toolbar.

What's WordPress Toolbar?

Toolbar is located in the WordPress menu and are displayed at the top of the screen. This toolbar menu contains a list of links Administration and useful to add a new post or edit your profile and additional menu of the plugins you install.

How to Remove Admin Toolbar in Wordpress

WordPress Toolbar has a variety of benefits to access the important parts quickly, but display the toolbar on the front of your WordPress site, make some users feel disturbed.

1. Remove Toolbar From Wordpress Admin

To remove, eliminate and hide the toolbar menu on the front of your WordPress site, please login to your admin area and click Users »Your Profile. Scroll down and find the "Toolbar" and uncheck "Show Toolbar when viewing site".


And after that, just to save the settings you have just a fox, with a click of a button "Update Profile". see your site, in the Front End or the front, then it no longer displays the toolbar menu at the top of your site. While toolbar will no longer be displayed on the front-end of your site, but will still appear at the backend of your site, due to the back-end part of the toolbar is still very necessary.

2. Remove Wordpress Toolbar With a Code

The second way is way more difficult than the above manner because you are dealing with code. But if you prefer to remove the toolbar by using code, please copy the code below and place it in  functions.php of your WordPress theme.

add_filter('show_admin_bar', '__return_false');


Once you finish and save the file functions.php, please check to see your WordPress site, and this Code will remove the toolbar of front-end view of your site.

That's two easy ways that you can use to remove, hide toolbar in the WordPress admin menu. Use one of the ways that you think is easy, good luck.


EmoticonEmoticon