説明
A simple plugin that removes the Dashboard menu, the Personal Options section and the Help link on the Profile page, hides the Dashboard links in the toolbar menu (if activated), and prevents Dashboard access to users assigned to the Subscriber role. Useful if you allow your subscribers to edit their own profiles, but don’t want them wandering around your WordPress admin section.
Users belonging to any of the other WordPress roles will continue to see and have access to the other sections of the WordPress admin that correspond to their role’s capabilities.
WP Hide Dashboard has been tested with WordPress in Single mode and Multisite mode, and works with both of them.
Note: Version 2.2 requires a minimum of WordPress 3.4. If you are running a version less than that, please upgrade your WordPress install before installing or upgrading.
Works With:
The following is a list of plugins that work well (no conflicts) with the WP Hide Dashboard plugin:
- Members by Justin Tadlock
- Admin Bar Minimiser by David Gwyer
- Logged Out Admin Bar by Peter Westwood
Known Conflicts:
The following is a list of plugins that are known to have conflicts with the WP Hide Dashboard plugin:
- Role Manager (Use the IWG Hide Dashboard plugin to hide the dashboard link.)
- Role Scoper
- Flutter
Note: Please let me know if there are other plugins that conflict with WP Hide Dashboard, and I’ll add them to the list.
Support:
Support is provided at: http://wphidedash.org/
スクリーンショット
インストール
Installation Instructions:
This plugin works in either the /wp-content/plugins/
or the /wp-content/mu-plugins/
directory.
If installing the plugin in the /wp-content/plugins/
directory:
- Download the plugin and unzip it to a folder on your computer.
- Upload the entire
wp-hide-dashboard
folder to that directory. - Activate the plugin through the Plugins section in WordPress.
- That’s it – no configuration necessary.
If installing the plugin in the /wp-content/mu-plugins/
directory:
- Download the plugin and unzip it to a folder on your computer.
- Upload the wp-hide-dashboard.php file to the
/wp-content/mu-plugins/
directory. - The plugin will automatically run � there is no activation or configuration needed.
FAQ
- Installation Instructions
-
Installation Instructions:
This plugin works in either the
/wp-content/plugins/
or the/wp-content/mu-plugins/
directory.If installing the plugin in the
/wp-content/plugins/
directory:- Download the plugin and unzip it to a folder on your computer.
- Upload the entire
wp-hide-dashboard
folder to that directory. - Activate the plugin through the Plugins section in WordPress.
- That’s it – no configuration necessary.
If installing the plugin in the
/wp-content/mu-plugins/
directory:- Download the plugin and unzip it to a folder on your computer.
- Upload the wp-hide-dashboard.php file to the
/wp-content/mu-plugins/
directory. - The plugin will automatically run � there is no activation or configuration needed.
- Q. Why did you remove support for other roles from Version 2.1?
-
I removed support for menu items for roles other than Subscriber. WP Hide Dashboard is a simple plugin, and was built for the Subscriber role. While I appreciate that some users need this type of functionality for other roles, most don’t require it, so I don’t want to bloat the plugin with unnecessary code for the majority of users.
If you need to hide admin sidebar menu links from roles other than Subscriber, I recommend using the Admin Menu Editor plugin to accomplish that goal. Currently it only removes links in the admin sidebar menu. The plugin author has indicated they may add support for removing admin bar menu links in a future version.
- Q. How do I change this to hide the Dashboard link, Tools menu, Personal Options, and Help options from other roles besides Subscriber?
-
A. Sorry, I no longer support this plugin working for any role other than Subscriber.
評価
貢献者と開発者
変更履歴
Version 2.2.1
- Brought code and comments in line with core standards.
- DrewAPicture was added as a plugin author.
- Removed some unused code.
- General cleanup.
Version 2.2:
- Support for WordPress version 3.3 and earlier removed.
- Reworked code to remove fatal error issue, ensure compatibility with WordPress 3.4 and 3.5.
- Reworked how Multisite user scenarios (assigned to no blogs/1 blog/2+ blogs) are handled.
Version 2.1:
- Support for WordPress version 2.9 and 3.0 removed.
- Support for roles other than Subscriber removed.
- Reworked code for removing Personal Options section on Profile page.
- Added support for removing Dashboard links in new admin bar.
- Added support for WordPress Multisite (network-activation-capable).
Version 2.0:
- Code reworked; support for WordPress version 2.5 – 2.8 removed.
- Updated menu removal code for compatibility with WordPress 3.0 (single user mode).
- Added code to remove Personal Options section on Profile page (props to Matthew Pollotta).
Version 1.5:
- Added code to make it easier to configure plugin if you want to change the role/capability level.
- Added code to remove Tools menu.
- Added code to remove Settings, Media and Comments menus for Contributors+ if needed.
- Added code to remove WordPress upgrade nag notice (admin will still see the notice).
Version 1.4:
- Added code to remove Tools menu in 2.8.x (menu numbering changed in core).
- Added Frequently Asked Questions and proper Changelog sections to readme.txt file.
Version 1.3:
- Fixed error in WordPress version checking.
Version 1.2:
- Added removal of Help link on Profile page.
Version 1.1:
- Added WordPress version checking.
- Added code for defining path to /wp-content/plugins/ if outside the WordPress directory.
- Added removal of Tools menu and collapsible arrow from the menu area in 2.7.x.
Version 1.0:
- 最初のリリース