Remove WordPress black banner when logged in

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 4 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #4963

    Kojo Darden
    Free User
    Post count: 21

    I have a site where I am using Users WP to allow my users to login to the site. However, upon logging in users see the default WordPress banner at the top of the screen (i.e. Howdy **name**). I would still like to see this as the admin, but how do I disable this top bar for users?

    #4965

    Alex Rollin
    Moderator
    Post count: 27815

    That is a WP feature. You can add a code snippet to remove it, using the code snippets plugin from wp.org, like:

    
    
    
    if ( ! current_user_can( 'manage_options' ) ) {
     add_filter('show_admin_bar', '__return_false');
    }
    
Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket