=== Menu By User Roles ===
Contributors: kahnu044
Tags: Tags: menu-visibility, user-roles, role-based-menus, access-control, site-navigation
Requires at least: 5.0
Requires PHP: 7.0
Tested up to: 6.8.3
Stable tag: 2.0.4
License: GPL2+
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

Menu By User Roles allows you to control the visibility of menu items based on user roles.

== Description ==

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](https://github.com/kahnu044/menu-by-user-roles).

== Installation ==

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.

== Screenshots ==

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

== Upgrade Notice ==

== Changelog ==

= 2.0.4 =
* Bug Fix: User roles save issue fixed

= 2.0.3 =
* Update: Tested with latest WordPress 6.8.3
* Update: Helper added to initialize select2

= 2.0.2 =
* Update: Tested with latest WordPress 6.8
* Bug FIx: Select2 user roles dropdown issue fixed

= 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

== Frequently Asked Questions ==

= 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](https://github.com/kahnu044/menu-by-user-roles/issues).

== Support ==

For support and inquiries, please [open an issue on GitHub](https://github.com/kahnu044/menu-by-user-roles/issues).

== License ==

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

== Author ==

[Kahnu Charan Swain](https://github.com/kahnu044)