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

7 sec read

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.

Last Updated On April 06, 2018

Leave a Reply

avatar
  Subscribe  
Notify of