A WordPress Plugin That Helps Remove Access To The WordPress Dashboard From Non Administrators

Have you ever wanted to remove access to the WordPress dashboard for a user but didn’t want to touch any code to do it? Remove Dashboard Access by Drew Jaynes makes it an easy process. After activating the plugin, I found it difficult to locate where the configuration settings are. The settings are at the bottom of the Settings > Reading page. I also discovered a quick link to the settings on the plugins management screen.

You can remove access based on a user’s capability, or if they’re part of the Administrator, Author, or Editor roles. This is great if you don’t have any users assigned to roles provided by plugins like Edit Flow or if you created custom roles though the Members plugin. If a custom role has a specific capability separate from other roles, you can use the Limit By Capability feature.

Settings To Control Who Has Access To The Dashboard
Settings To Control Who Has Access To The Dashboard

For those that don’t have access, you can redirect them to a specific URL. You can also choose whether or not they can use the dashboard to edit their profile. Last but not least, there’s a box provided to create a custom login message. The plugin removes access to some of the built-in WordPress Toolbar menu items by default. However, if you want to remove toolbar menus from other plugins, you can follow the guide on the plugin’s other notes page.

Remove Dashboard Access works great for its intended purpose but if you need more granular control over which roles you can remove access from, you’ll need to look elsewhere. The plugin can be found on the WordPress plugin directory or on Github. Jaynes openly invites pull requests.

Do you know of a plugin that has a similar feature set but supports custom roles?

There are 3 comments

Comments are closed.