Really excited to be giving clients a customized Dashboard that goes on all their sites!
However, my “Section” Template that I created in Bricks seems to be inheriting the admin bar - so it’s doubled:
Anyone know how I can get rid of that?
Really excited to be giving clients a customized Dashboard that goes on all their sites!
However, my “Section” Template that I created in Bricks seems to be inheriting the admin bar - so it’s doubled:
Hi! This is a known issue and has been fixed locally. Will deploy it in the next version
Great to hear it. Thanks @Daniele!
If you can deploy some code to functions.php (Child Theme in Bricks) or if you are using a snippet manager (WPCodeBox, Code Snippets etc.) you can try something like this:
add_filter('show_admin_bar', 'disable_admin_bar_for_adminbar_false');
function disable_admin_bar_for_adminbar_false($show) {
if (is_user_logged_in() && isset($_GET['adminbar']) && $_GET['adminbar'] == 'false') {
$show = false;
}
return $show;
}
Now add ?adminbar=false
to your url for your backend page.
Thanks @MaxZieb! Very helpful code snippet.
Is there a solution yet? It still happens for me.