How to Enable the WordPress Admin Bar only for admins

WordPress Logo

Hi today i will tech you how to Enable the WordPress Admin Bar only for admins , without plugin. go to your active theme folder then open your functions.php page on any editor, like: notepad++ and past this code in functions.php. If the user can not manage options, then do not show them the admin bar.

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!