Please copy this code in functions.php file of your theme
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’ );
(Visited 141 times, 1 visits today)