How to hide admin bar from non admin in WordPress


wordpress logoBy default, as long as your are logged in at a WordPress site, you will see a admin bar at the top. However, if you are site admin, i’m sure you do not wish to show the admin bar to non admin member. Of course this will also avoid many unnecessary issue.

wordpress hide admin bar

To hide admin bar from subscriber or non admin in WordPress, follow the steps below:-

Advertisements

  • Open your theme functions.php and paste the code below to the bottom of the file.
  • Once done, all he non member will not see the admin bar again.

Related posts:






Share this with your friends:-

Leave a Reply