Admin bar is the dark bar with buttons to add content, and manage updates, comments. For regular users, this bar sometimes becomes confusing. To easily hide admin bar, add the following snippet to your functions.php file:

function remove_admin_bar() {
  if (!current_user_can('administrator') && !is_admin()) {
} add_action('after_setup_theme', 'remove_admin_bar');

Disclaimer: is a participant in the Amazon Associates Program. We earn fees by advertising and linking to Read more on our privacy policy.