Skip to:
Content
Pages
Categories
Search
Top
Bottom

Admin bar shows up for users but not admins?


  • chrisvallleyoc
    Participant

    @chrisvallleyoc

    For some reason the buddypress bar shows up for users, but no admin bar (including the buddypress one) shows up for admins. Not sure what details of my site would be relevant, but does anyone have any idea how this would happen?

    My footer.php file DOES have wp_footer(); Which, to my understanding, is where the admin bar is called. Looking at the html of a user and an admin, the admin doesn’t even have #wpadminbar in the code, so it’s not a css issue. My guess is there’s some sort of is_admin() or something maybe?

    Has anyone else run into this problem?

Viewing 1 replies (of 1 total)

  • chrisvallleyoc
    Participant

    @chrisvallleyoc

    Update: I didn’t find the culprit, but I did manage to patch up the issue by adding this to my functions.php:

    if ( current_user_can( ‘manage_options’ ) ) {
    show_admin_bar( true);
    }

    So something is turning off the show_admin_bar somewhere. I just don’t know where.

Viewing 1 replies (of 1 total)
  • The topic ‘Admin bar shows up for users but not admins?’ is closed to new replies.
Skip to toolbar