Admin bar disappeared
-
I tried out the buddypress sliding login panel, but wasn’t impressed because it doesn’t display notifications well. I uninstalled but I’m not able to get my admin bar to display for users. Any thoughts on what I might do?
I noticed this in my functions.php but even if I omit this code it doesn’t appear for users.
`
function arit_remove_buddypress_admin_bar_install() {}
function arit_remove_buddypress_admin_bar_init() {
if ( function_exists(‘bp_core_admin_bar’) ) remove_action( ‘wp_footer’, ‘bp_core_admin_bar’, 8 );
if ( function_exists(‘bp_core_admin_bar_css’) ) {
remove_action( ‘wp_head’, ‘bp_core_admin_bar_css’, 1 ); }
if ( function_exists(‘bp_core_add_admin_css’) ) remove_action( ‘admin_menu’, ‘bp_core_add_admin_css’ ); }
function arit_remove_buddypress_admin_bar_uninstall() {}register_activation_hook( __FILE__, ‘arit_remove_buddypress_admin_bar_install’ );
add_action( ‘init’, ‘arit_remove_buddypress_admin_bar_init’ );
register_deactivation_hook( __FILE__, ‘arit_remove_buddypress_admin_bar_uninstall’ );
`
- The topic ‘Admin bar disappeared’ is closed to new replies.