How To Hide The Admin Bar On The Front End Of WordPress Websites

Published: April 1, 2021,  
Posted in: , ,  

Here's a quick guide on how to hide the wp-admin bar on the front end of WordPress websites.

As I use Oxygen Builder for most site builds, I use a plugin called Code Snippets for adding additional functionality. Insert the following code into a new snippet and you will no longer see the admin bar on the front end when viewing a website.

add_filter('show_admin_bar', '__return_false');

I also mentioned I use a plugin called Dashboard Switcher on all client sites as I create custom walkthroughs for their site and any other tutorial they need. I also add my support form for them to log tickets - obviously you would only do this on sites you maintain. You essentially build your layout in whatever builder you use and disable any header and footer on that page. Check it out on my affiliate link: I only ever recommend products I use myself.

I hope you find this useful for your projects!

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Notified Of New Posts
Copyright © 2021 All Rights Reserved  |  By Itchy Fingers Design
twitterfacebookenvelopelinkedinxinglong-arrow-leftlong-arrow-rightpaper-planepinterest-pwhatsappcommentingchevron-down linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram