• Do not post forums in any language other than English. Moreover, political, religious and adult content cannot be posted. Requested not to spamming posts. Such posts will be deleted very soon.

How to Hide WordPress Admin Bar for all users?

SeoToolsbuz

New member
Today I will show you, How to hide WordPress Admin Bar for all users. I will share the idea without any plugins.
Step 1: Go to your functions.php and add the below line of code:
Code:
add_filter( 'show_admin_bar', '__return_false' );
Admin Bar Hide.png


Step 2: Then add the below line of code inside the style.css file:
Code:
#wpadminbar { display: none !important;}
Admin Bar Hide 2.png


This is the process to hide the admin bar from the WordPress website.
 
Top