=== Dashora ===
Contributors: iqbal1156
Tags: admin, white-label, branding, login, menus
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

White-label the WordPress admin: hide menus, restyle the panel, and replace the login page.

== Description ==

Dashora gives a developer one screen for the WordPress admin that other people see. Use it when you hand a site to a client, a shop manager, or a team and you want that admin to show your name instead of a stock WordPress panel.

Nothing is hidden or restyled until you turn it on. Until a password is set, every administrator still sees the normal WordPress admin.

= What you can change =

* **Menus.** Choose left-hand menus and individual plugins that disappear for a locked account. A hidden menu leaves the left side and its address. A hidden plugin leaves the Plugins screen and keeps running. Roles and capabilities stay the same.
* **Look.** Set the top bar, accent, sidebar, page background, and text colors. Choose a font, corner style, logo, panel name, and footer line.
* **Admin bar.** Leave the top bar visible, or hide it in the admin, on the website, or both. The account that set the password keeps the bar.
* **Login.** Replace wp-login.php with Classic card, Split, Spotlight, Minimal, or Midnight. Each template can use your colors, a logo, and a background photo.
* **Password.** The Dashora password is stored as a hash. An unlock lasts 12 hours on that account. Lock it again from the Password screen when you are finished.

Settings stay on one screen. Switching sections does not reload the page.

Dashora does not change WordPress updates, and it does not phone home.

Dashora is developed by IQBAL HOSSEN at Deviqbal.

== Installation ==

1. Upload the `dashora` folder to `/wp-content/plugins/`, or install the zip from the Plugins screen.
2. Activate Dashora through the Plugins screen.
3. Open Dashora in the left admin menu.
4. Set a password of at least 8 characters. Until a password exists, nothing is hidden.
5. Check the menus and plugins that should disappear for accounts that have not entered that password.

An unlock lasts 12 hours on that account. Use Lock Dashora on the Password section when you are done.

== Frequently Asked Questions ==

= Does hiding a menu change what that account is allowed to do? =

No. Dashora removes the menu link and blocks that screen's address for a locked account. It does not change roles or capabilities. Hiding a plugin removes it from the Plugins screen only. The plugin stays installed and running.

= Who can change these settings? =

Only an administrator who knows the Dashora password. The password is stored as a hash. Other administrators can keep using WordPress, and they need the password before they can undo what you hide.

= What if the password is lost? =

Someone with access to this server can clear it with WP-CLI:

`wp dashora reset-lock`

That removes the password. Hidden menus stay hidden until a new password is set, and every administrator can open Dashora again to set one.

= Which screens does Dashora have? =

Menus, Look, Admin bar, Login, and Password. They all stay on one page.

= Does the account that set the password lose the admin bar? =

No. Hiding the bar applies to other accounts. The account that set the password keeps the bar and every menu.

= Does the System font contact another website? =

No. System uses the fonts already on the computer. Inter, Source Sans 3, Nunito, IBM Plex Sans, and Libre Baskerville are loaded in the browser from Bunny Fonts only after you choose one and save.

== External services ==

Dashora does not phone home and does not include ads or tracking.

Named fonts, other than System, are loaded from Bunny Fonts:

* Service: Bunny Fonts
* What is sent: the browser requests a font stylesheet from `https://fonts.bunny.net`. No Dashora account, site content, or password is sent.
* When: only after an administrator selects that font on the Look screen and saves. System does not use this service.
* Terms: https://bunny.net/terms
* Privacy: https://bunny.net/privacy

== Privacy ==

Dashora stores these items on your own site:

* A hash of the Dashora password, in the `dashora_settings` option. The plain password is not stored.
* The user ID of the account that set the password.
* An unlock expiry time in user meta for an account that entered the password. An unlock lasts 12 hours.
* A short-lived count of failed password attempts, so the form can pause after repeated guesses.
* The menus, plugins, colors, and login choices you save.

Deleting the plugin from the Plugins screen removes these items. Dashora does not send them to Deviqbal or any other server.

== Screenshots ==

1. Menus and plugins. Checked items are hidden from locked accounts.
2. Colors, type, logo, and the panel name on the Look screen.
3. Five login templates: Classic card, Split, Spotlight, Minimal, and Midnight.
4. The password screen, including the 12-hour unlock and the WP-CLI recovery command.

== Changelog ==

= 1.0.0 =
* First release.
