Admin Menu Restrictor
开发者 |
rvaithia
ramvaithia
|
更新时间 |
2024年11月27日 04:37 |
PHP版本: |
5.6 及以上 |
WordPress版本: |
6.7.1 |
版权: |
GPL-2.0-or-later |
版权网址: |
版权信息
|
详情介绍:
Admin Menu Restrictor is a lightweight WordPress plugin designed to simplify and secure the admin dashboard for non-administrator users. By default, the plugin restricts access to all admin menu items except for the \"Posts\" menu, ensuring that non-admin users can only access what they need. This helps streamline the interface, minimize confusion, and prevent unauthorized access to sensitive areas of the dashboard. The plugin is easy to use and works seamlessly with WordPress user roles and permissions.
安装:
Plugin Installation Instructions:
Download the Plugin:
Obtain the admin-menu-restrictor.zip file from your source or download it from the official plugin website.
Upload the Plugin to WordPress:
Log in to your WordPress admin dashboard.
Navigate to Plugins > Add New.
Click the Upload Plugin button at the top of the page.
Select the admin-menu-restrictor.zip file from your computer and click Install Now.
Activate the Plugin:
Once the plugin is installed, click the Activate Plugin button to enable it on your site.
Verify Functionality:
Log in as a non-admin user to test the restricted admin menu.
Ensure only the \"Posts\" menu is visible while other menu items are hidden.
Keep the Plugin Updated:
Regularly update the plugin under Plugins > Installed Plugins to ensure compatibility with the latest WordPress versions and access to any improvements.
You’re all set! Admin Menu Restrictor is now active, simplifying the admin experience for non-admin users.
常见问题:
Frequently Asked Questions (FAQs) for Admin Menu Restrictor
- What does Admin Menu Restrictor do?\
Admin Menu Restrictor hides all admin menu items except the \"Posts\" menu for non-administrator users, simplifying the dashboard and enhancing security.
- Can I customize which menu items are visible to non-admin users?\
Currently, the plugin only allows the \"Posts\" menu by default. However, you can modify the code to include additional menus by updating the
allowed_menu
array in the plugin file.
- Does this plugin affect administrator accounts?\
No, the plugin only restricts the admin menu for non-administrator users. Administrators retain full access to all menu items.
- Is this plugin compatible with custom user roles?\
Yes, the plugin works with custom user roles. It restricts access based on whether a user has the
administrator
capability.
- Will this plugin conflict with other role management or admin customization plugins?\
Admin Menu Restrictor is lightweight and should not conflict with most plugins. However, if another plugin modifies admin menu visibility, conflicts may arise. Testing is recommended in such cases.