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
Great tip!
Another way: show_admin_bar(false);
Where do you put that code Joan?
Wouldn’t you need to include it in a function?
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. 🙂
Yep, works site wide in the functions file. Thanks for that.
Your welcome! Your site is very useful and helps a lot! Happy to add my tiny bit of content.
Always appreciated Joan.