- Joined
- Feb 27, 2013
- Messages
- 72
- Points
- 0
Paste the code in your themes function.php
Or remove it completely for all users
PHP:
add_action('init', 'remove_admin_bar');
function remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
show_admin_bar(false);
}
}
PHP:
show_admin_bar(false);