HomeTips & Tricks How To Hide Admin Toolbar When Viewing Site From Your WordPress Site 2 Ways

How To Hide Admin Toolbar When Viewing Site From Your WordPress Site 2 Ways

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. So if you want to hide or disable this WP Toolbar follow the step below.

Figure for How To Hide Admin Toolbar When Viewing Site From Your WordPress Site 2 Ways
Figure for How To Hide Admin Toolbar When Viewing Site From Your WordPress Site 2 Ways

METHOD 1

Step 1:  First login to your WP Dashboard with you current username and password then go to the “Users” options and click on “Your Profile” from under the Users options for example you can see below with screenshot.

Hide Admin Toolbar When Viewing Site From Your WordPress Site 2 Ways
Figure for going to your profile

Step 2: When you’ll click on Your Profile then scroll down the page and find the “Toolbar” section and remove the tick option from Show Toolbar when viewing site.

Figure for remove the tick from showing Toolbar
Figure for remove the tick from showing Toolbar

Now finally update your profile and Done.

Note: But if you follow the above method this settings are hidden only from your profile, So if you wan to hide Toolbar for everyone then follow the following method.

METHOD 2

Step: 1 For removing Toolbar for everyone ignore the above method and copy paste the code from bellow and paste into functions.php file directly from your current themes folder.

add_filter(‘show_admin_bar’, ‘__return_false’);

Now you’ve successfully disabled the toolbar off of the front-end of your site.

Video Tutorial:

If you doesn’t understand above article so then watch the video tutorial.

In the end

I hope you have found this article helpful. Let us me your opinion or questions if any through the comment form in below or use this form to ask your question.

You May Also Like

About the Author: Kedar Adhikari

I am WordPress Themes developer and designer and also any type of website design with minimum cost. for more information you can contact me on email [email protected]

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2024 My WP Helper. All rights reserved.