There’s at least 3 ways you can remove the admin bar or hide it on specific pages.
A forum member asked: Hello, I’m trying to hide the admin bar on a page called “Registration”.
Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code
Snippets
Joan says
Great tip!
Another way: show_admin_bar(false);
Brad Dalton says
Where do you put that code Joan?
Wouldn’t you need to include it in a function?
Joan says
In functions.php works fine. Or in a plugin, so it does not depends on the theme.
No, it doesn’t need to be in a function. 🙂
Brad Dalton says
Yep, works site wide in the functions file. Thanks for that.
Joan says
Your welcome! Your site is very useful and helps a lot! Happy to add my tiny bit of content.
Brad Dalton says
Always appreciated Joan.