Menu By User Roles

描述

Menu By User Roles is a WordPress plugin that allows you to control the visibility of menu items based on user roles. You can assign specific user roles to each menu item, ensuring that only users with those roles can see and access the corresponding links.

For more information and usage instructions, visit the GitHub Repository.

Support

For support and inquiries, please open an issue on GitHub.

License

This plugin is released under the GPL-2.0+ License. See LICENSE for more information.

Author

Kahnu Charan Swain

螢幕截圖

  • Here is an example of a menu item with user role selection options.

安裝

  1. Upload the menu-by-user-roles directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to ‘Appearance’ > ‘Menus’ in your WordPress dashboard to start assigning user roles to menu items.

常見問題

How do I assign user roles to menu items?

  1. Go to ‘Appearance’ > ‘Menus’ in your WordPress dashboard.
  2. Edit a menu item, and you will find a new option to assign user roles.
  3. Choose the desired user roles for the menu item.
  4. Save the menu.

Can I use this plugin with any theme?

Yes, this plugin should be compatible with most WordPress themes. If you encounter any compatibility issues, feel free to report them on GitHub.

評價

TOP

2024年10月21日
Great plugin for managing user levels and it helped me a lot in my projects
2024年7月20日
Thanks for releasing this menu customizer by role. I tried the following plugins and checked their sourcecode too. If Menu Nav Menu Roles User Roles This plugin has the most pleasing UI interface. Clean and to the point. Well done! Also the source code is super clean in comparison. https://thawk.nl/development/wordpress-menu-navigation-by-user-role/
閱讀全部3個評價

貢獻者及開發者

“Menu By User Roles” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Menu By User Roles 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.0.1

  • Update: Block-Based Navigation Issue Fixed

2.0.0

  • Feature: Added WordPress Block Theme Navigation Support – Now fully compatible with block-based themes using the Navigation block.
  • Update: Multi-Role Selection for Block-Based Navigation – Users can now select multiple roles when configuring menu items in block-based navigation settings.
  • Update: Fixed Elementor Select2 Conflict – Resolved UI issue where the role selection dropdown was not displaying correctly when Elementor was installed.
  • Update: Enhanced UI & UX – Improved overall appearance and user experience for better usability.

1.0.5

  • Update: Tested with latest WordPress 6.7.1

1.0.4

  • Update: Tested with latest WordPress 6.6.2

1.0.3

  • Update: Tested with latest WordPress 6.5.2

1.0.2

  • Feature: Multiple user roles added

1.0.1

  • Update: New version of the plugin released

1.0.0

  • Initial release