How to Show Admin Bar to Administrators Only

By Prem Tiwari in WordPress, WordPress Snippets. Updated on


Are you developing a WordPress website and want hide admin toolbar from front-end website for non-WordPress users. Open the functions.php file and copy paste below code at the end of the file and save it. …

Only show admin bar to administrators

By Prem Tiwari in WordPress Snippets. Updated on


Want to hide the admin bar from frontend in your WordPress website, then keep close attention in this post. In this post i will explain a simple code which will hide admin bar. Open your …