I added a custom header(header-new.php) to the site http://parentctrhub.staging.wpengine.com for logged in users of buddypress. The code that I added in default page template is:
if ( is_user_logged_in() ) {
get_header('new');
}
else {
get_header();
}
But, now the black buddypress toolbar/admin bar has stopped showing. It is shown for logged out users (if I check the option in buddypress settings) but not for logged in users. Weirdly, now the toolbar doesn't show up even if I undo all the changes.