Skip to:
Content
Pages
Categories
Search
Top
Bottom

hiding dashboard from buddypress users


  • vintagefan74
    Participant

    @vintagefan74

    I’m new so excuse me if this is a simple fix. I have a private/login required buddypress area.

    -how do I remove the upper left dashboard access for site users?

    -What user roll would I set up new users under? I don’t want them to have any dashboard permission, they just need to be able to do user functions (set up profile, posts, etc. etc.) Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

  • javigandia
    Participant

    @javigandia

    Quizás los que buscas está en este tema:

    [Resolved] Hiding WordPress admin bar from non admin users.


    Saludos y mucha suerte.


    Anonymous User 18187419
    Inactive

    @anonymized-18187419

    hi vintagefan, you can use the plugin “Remove Dashboard Access” (by TrustedLogin) to restrict dashboard access to admins only. Search for it.

    You can also hide that upper-left item from the admin bar with the following code snippet:

    function remove_admin_bar_items() {
    
    global $wp_admin_bar;
    $wp_admin_bar->remove_menu('site-name');
    }
    add_action( 'wp_before_admin_bar_render', 'remove_admin_bar_items' );

    You could use the standard Subscriber role for new users, they would not have dashboard access.


    vintagefan74
    Participant

    @vintagefan74

    that works! Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar