外掛說明
SRKP Role Based Admin Menu is a lightweight, powerful, and secure WordPress plugin designed to give site administrators complete control over what admin menu and submenu items each user role can see and access.
Whether you run a multi-author blog, membership portal, e-commerce store, or client site, cluttering the WordPress dashboard with unnecessary menu items for non-administrator users can lead to confusion and unintended site edits. SRKP Role Based Admin Menu solves this seamlessly!
Key Features
- Role-Specific Menu Control: Customize menu visibility for any standard or custom WordPress user role (Administrator, Editor, Author, Contributor, Subscriber, WooCommerce Customer, Shop Manager, etc.).
- Top-Level & Submenu Hiding: Easily hide entire main menu items or individual submenus with intuitive toggle switches.
- Instant Live Search: Built-in fast search box to filter menu items instantly.
- Bulk Show/Hide Controls: One-click buttons to show or hide all menu items for a selected role.
- Direct URL Access Blocking: Prevent non-authorized users from directly navigating to hidden menu URLs via browser address bar.
- Administrator Safety Guard: Built-in protection option so site administrators never lock themselves out of the management settings.
- Asynchronous AJAX Saving: Save and reset menu visibility rules instantly without full page reloads.
- Clean & Modern UI: Modern card-based user interface with glassmorphism touches designed specifically for the WordPress dashboard.
- WordPress.org Compliant: Follows standard WordPress plugin architecture, sanitized queries, nonces, and translation-ready standard i18n text domains.
安裝方式
- Upload the
srkp-role-based-admin-menufolder to the/wp-content/plugins/directory (or zip and install via Plugins > Add New > Upload Plugin). - Activate the plugin through the Plugins menu in WordPress.
- Go to SRKP Role Menu in the WordPress admin menu bar to start configuring visibility rules for your user roles.
常見問題集
-
Will this break my administrator dashboard?
-
No. The plugin includes a built-in Administrator Safety Guard option (
Protect Administrators) enabled by default. This ensures administrators always maintain access to the plugin settings. -
Does this support custom roles created by plugins like WooCommerce or User Role Editor?
-
Yes! The plugin dynamically detects all registered roles on your WordPress site.
-
Yes! When
Block Direct URL Accessis enabled in Global Settings, users attempting to access hidden admin pages directly will receive an Access Denied message.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.0
- Initial public release on WordPress.org.
- Feature: Role-based menu and submenu hiding logic.
- Feature: Search filter and bulk toggle actions.
- Feature: Direct URL access protection.
- Feature: Administrator safety guard.
