How to remove the top bar in WordPress for logged-in users

No Comments

Edit the functions.php file in within your theme and add the following line to it

add_filter( 'show_admin_bar', '__return_false' );

This will remove the top bar when a user is logged-in.

Image Credits: Photo by Isis França on Unsplash.

Last Updated On April 06, 2018

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link