=== Incognito Admin Manager ===
Contributors: diyaaaboualloul
Tags: admin customization, login page, white label, role manager, admin theme
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Customize your WordPress login screen, style the admin interface, and control menu visibility per user role.

== Description ==

Incognito Admin Manager is an all-in-one solution for customizing your WordPress admin area. Perfect for agencies, developers, and site owners who want to create a branded, streamlined admin experience.

Incognito Admin Manager provides powerful admin customization tools out of the box — fully functional with no restrictions.

= Custom Login Screen =

https://www.youtube.com/watch?v=keAKQvP46jg

* Modern split-screen login page design
* Custom background image or solid color for left panel
* Customizable form colors (background, text, buttons)
* Custom logo
* Button hover effects
* Fully responsive design

= Admin Theme Styler =

https://www.youtube.com/watch?v=dIUJgwE7Wjc


* Customize admin menu colors (background, text, hover, active states)
* Customize admin bar colors and dropdown backgrounds
* Hide WordPress logo from admin bar
* Live preview sidebar to see changes before saving
* Non-admin users see custom styling (admins see default by default)

= Access Role Creator =

https://www.youtube.com/watch?v=SeZUQo9JuHY

* Hide specific menu items per user role
* Hide menu from sidebar (Hide Only mode)
* Extra slugs field for custom page restrictions
* Unlimited role restrictions
* Administrators are always protected from lockouts

= Use Cases =

* **Agencies**: Create branded admin experiences for clients
* **Membership Sites**: Simplify the dashboard for members
* **Multi-author Blogs**: Restrict editor access to specific areas
* **Client Sites**: Hide unnecessary WordPress elements

= Looking for More? =

A separate Pro plugin is available at [deewp.com](https://deewp.com/) with additional features such as direct URL blocking, admin bar visibility control, login redirects, and more admin cleanup options. The Pro plugin is sold and hosted separately — this free plugin is fully functional on its own.

== Installation ==

1. Upload the `incognito-admin-manager` folder to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to 'Incognito Admin' in the admin menu to configure

== Frequently Asked Questions ==

= Can I lock myself out with Access Role Creator? =

No. Administrators cannot be restricted and are always protected from lockouts.

= Will the styling apply to administrators? =

By default, no. Administrators see the standard WordPress admin interface. Non-admin roles will see the custom styling you configure.

= What happens to my settings if I deactivate the plugin? =

Your settings are preserved when you deactivate. They are only deleted when you completely delete the plugin from WordPress.

= Is this plugin multisite compatible? =

The plugin is compatible with multisite installations. All settings are stored per site and are not managed network-wide.

= How many role restrictions can I create? =

You can create unlimited role restrictions. Select any role and choose which menu items to hide from their sidebar.

= What does hiding a menu item do? =

Hiding a menu item removes it from the admin sidebar for that role. This is a visual cleanup to simplify the dashboard. Users may still access pages via direct URL if they know the address.

== Screenshots ==

1. Custom Login Screen with modern split-screen design
2. Admin Theme Styler with live preview sidebar
3. Hide Options Cleanup - simplify the admin dashboard
4. Access Role Creator - hide menu items per user role
5. Role Login Redirect - login redirection link per user role

== Changelog ==

= 1.0.2 =
* Updated Plugin URI to be distinct from Author URI
* Improved escaping and security documentation
* Removed unused files and dead code
* Renamed CSS class prefixes for consistency

= 1.0.1 =
* Fixed all option names to use incognito_ prefix consistently
* Replaced all inline script and style tags with wp_add_inline_script() and wp_add_inline_style()
* Removed external image domain references
* Prefixed all wp_localize_script variables with incognito prefix
* Escaped all dynamic CSS output with wp_strip_all_tags() before wp_add_inline_style()
* Fixed Plugin URI to be different from Author URI
* Improved page access detection accuracy

= 1.0.0 =
* Initial release
* Custom Login Screen module with split-screen design
* Admin Theme Styler module with live preview
* Access Role Creator module with Hide Only mode

== Upgrade Notice ==

= 1.0.2 =
Cleanup and improvements based on WordPress.org review feedback.

= 1.0.1 =
Prefixing, enqueue compliance, and security improvements.

= 1.0.0 =
Initial release of Incognito Admin Manager.
