aderaaij
11/14/2013 - 12:31 AM

Hide admin-bar from front-end (add to functions.php)

Hide admin-bar from front-end (add to functions.php)

function hide_admin_bar_from_front_end(){
  if (is_blog_admin()) {
    return true;
  }
  return false;
}
add_filter( 'show_admin_bar', 'hide_admin_bar_from_front_end');