WordPress Business Solutions

HIRE A WORDPRESS TECHNICIAN & WEBSITE DESIGNER

Contact Us
adminbar3

Remove the Admin Bar from the front-end of the website.

For some reason, I don’t like to see the WordPress Admin Bar appear on the front-end part of the website, mainly because I prefer seeing the whole header without being obstructed by an object I find annoying.

So instead of using a plugin, simply copy/paste the following code snippet in the functions.php page of your theme:

add_filter('show_admin_bar', '__return_false');

Once added, the code snippet will remove the admin bar from front end, while keeping it displayed in the wp-admin panel because this is where I believe it belongs.

If you are hesitant to do this yourself, just get in contact with us and we’ll do it for you.



Share this page:
Facebooktwittergoogle_plusredditlinkedinFacebooktwittergoogle_plusredditlinkedin