/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php global $current_user; get_currentuserinfo(); if ($current_user->ID != 1) { add_filter( 'show_admin_bar', '__return_false' ); } ?>
Comments

<?php global $current_user; get_currentuserinfo(); if ($current_user->ID != 1) { add_filter( 'show_admin_bar', '__return_false' ); } ?>