WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Remove Dashboard Access

Allows you to disable Dashboard access for users of a specific role or capability. Disallowed users are redirected to a chosen URL.

Other Notes

Capabilities

  • You can limit Dashboard access to Admins only, Editors or above, Authors or above, or by selecting a capability. More information on WordPress' default roles and capabilities can be found here: http://codex.wordpress.org/Roles_and_Capabilities

User Profile Access

  • You can optionally allow all users the ability to edit their profiles in the Dashboard. Users lacking the chosen capability won't be able to access any other sections of the Dashboard.

Login Message

  • Supply a message to display on the login screen. Leaving this blank disables the message.

Hiding other plugins/themes' Toolbar menus

  • Remove Dashboard Access removes some built-in WordPress Toolbar menus by default, but can be extended to hide menus from other plugins or themes via two filters: rda_toolbar_nodes (viewing from the admin), and rda_frontend_toolbar_nodes (viewing from the front-end).

How to find the menu (node) id:

  • In the HTML page source, look for the <li> container for the menu node you're targeting. It should take the form of <li id="wp-admin-bar-SOMETHING">
  • In <li id="wp-admin-bar-SOMETHING">, you want the "SOMETHING" part.

How to filter the disallowed Toolbar nodes on the front-end:

/**
 * Filter hidden Toolbar menus on the front-end.
 *
 * @param array $ids Toolbar menu IDs.
 * @return array (maybe) filtered front-end Toolbar menu IDs.
 */
function hide_some_toolbar_menu( $ids ) {
    $ids[] = 'SOMETHING';
    return $ids;
}
add_filter( 'rda_frontend_toolbar_nodes', 'hide_some_toolbar_menu' );

Common plugin Toolbar menus and their ids: | Jetpack by WordPress.com (notifications): 'notes | WordPress SEO by Yoast: 'wpseo-menu' | W3 Total Cache: 'w3tc'

Debug Mode

To view debugging information on the Settings > Reading screen, visit yoursite.com/options-general.php?page=dashboard-access&rda_debug=1

Requires: 3.1 or higher
Compatible up to: 4.0
Last Updated: 2014-7-16
Downloads: 31,031

Ratings

4 stars
4.7 out of 5 stars

Support

2 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

2 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,2,2
50,2,1
100,1,1
100,3,3
100,4,4 100,1,1
100,1,1 100,2,2
100,2,2
100,1,1
100,2,2
100,2,2
100,4,4
100,2,2
100,1,1 100,1,1 100,2,2