Skip to:
Content
Pages
Categories
Search
Top
Bottom

Participant can access Dashboard?


  • drakesong
    Participant

    @drakesong

    Hello, I am fairly new to WordPress.

    I recently added bbPress to my site and tested out the forums.

    I created a “testuser” so that I could post on the forums; however, after signing into “testuser”, I found out that the role “participant” can access the Dashboard of WordPress and through the Dashboard, the Theme Options and change it.

    Not sure if this is supposed to happen or not but I would like to know if there is a way to restrict the “participant” from accessing Dashboard and other WordPress options.

    Thanks

Viewing 1 replies (of 1 total)

  • Robin W
    Moderator

    @robin-w

    you can just untick the toolbar option for each user in dashboard>users and edit a user

    If you want to disable for all but admins, put this in our functions file

    <?php
    
    //disable toolbar for non-admins
    
    if (!current_user_can('manage_options')) {
    show_admin_bar(false);
    }
    

    Functions files and child themes – explained !

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