=== ProfileSwitch Lite ===
Contributors: dlparker1005
Tags: profile switching, user switching, family, multi-user, child accounts
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

One account. Multiple profiles. Built for families, youth programs, and any WordPress site where people need their own space under a shared login.

== Description ==

ProfileSwitch Lite turns a single WordPress login into multiple profiles. The primary user switches between them with one click — no logout, no separate passwords to remember. Each profile is a real WordPress user, so course progress, orders, comments, and activity stay completely separate.

= Use cases =

* **Families** — Kids and household members get their own profile without each needing a separate email and password
* **Youth programs** — Sports clubs, day camps, and after-school programs where one parent manages multiple kids' registrations under a single login
* **Online courses** — Each profile tracks its own course progress, quizzes, and completions, so multiple learners in a household don't overwrite each other
* **Business accounts** — Departments or team members get their own profile under one company login

= Lite version features =

* Up to 10 profiles per primary account
* One-click switching from a profile selector page
* Edit, unlink, or delete sub-profiles
* Color scheme customization (Light / Dark / Custom with primary + accent colors)
* Custom heading text
* Profile relationship management on the WordPress user edit page

= Get more with the full version of ProfileSwitch =

The full version of ProfileSwitch adds:

* PINs to protect specific profiles (numeric or alphanumeric)
* Parental controls to restrict pages behind the primary's PIN
* Forgot PIN email reset flow
* Custom preset avatars (upload your own and let profiles pick)
* Background customization (color, image, blur)
* WooCommerce integration: orders across profiles
* BuddyPress / BuddyBoss integration: xprofile fields and signup fields
* Paid Memberships Pro integration: share membership levels across profiles, per-level profile limits
* Profile managers to delegate management to sub-profiles
* Custom credentials per profile (set a specific email and password)
* Custom profile limits, including per-membership-level caps via Paid Memberships Pro
* Email-verified Account Management UI

[Get the full version of ProfileSwitch](https://profileswitch.com)

== Installation ==

1. Upload the `profileswitch-lite` folder to `/wp-content/plugins/`, or install via the WordPress plugin browser.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **ProfileSwitch Lite** in the admin menu.
4. Choose a page to host the profile switcher, or select "Auto-create new page" to have one created automatically.
5. Visit the page logged in to start adding profiles.

== Screenshots ==

1. The profile switcher page — one-click switching between linked profiles.
2. Design settings — Light / Dark / Custom color schemes with your own primary and accent colors.
3. Manage linked profiles directly from the WordPress user edit screen.

== Frequently Asked Questions ==

= How is this different from creating multiple WordPress users? =

You can create multiple WordPress users today, but each has its own login. ProfileSwitch Lite links a primary account to its sub-profiles so the primary user can switch into each profile with one click — no logout/login required.

= Can children have their own profile without an email address? =

Yes. ProfileSwitch Lite auto-generates email addresses for sub-profiles using the primary user's email plus a unique alias.

= What happens if I deactivate the plugin? =

All profile users remain as standalone WordPress users. Their data is preserved. Reactivating the plugin restores the linked-profile relationships.

= Does this work with my membership plugin? =

ProfileSwitch Lite works with any plugin that uses standard WordPress users. Dedicated integrations for WooCommerce, BuddyPress / BuddyBoss, and Paid Memberships Pro are available in the full version of ProfileSwitch.

= Can I require a PIN to switch into a profile? =

PIN protection and parental controls are available in the full version of ProfileSwitch.

= Can I have more than 10 profiles? =

ProfileSwitch Lite supports up to 10 profiles per primary account, which is enough for the vast majority of families. If you need a higher limit on a single site, you can override it by defining `PROFILESWITCH_LITE_MAX_PROFILES` in your `wp-config.php` before the plugin loads. The full version of ProfileSwitch adds an admin UI for custom limits, including per-membership-level caps via Paid Memberships Pro.

= Can I import existing WordPress users as sub-profiles? =

The full version of ProfileSwitch supports inviting existing WordPress users to link as sub-profiles.

= Will my data transfer if I upgrade to the full version? =

Yes. Profile relationships, settings, and design customization are stored in standard WordPress user meta and options, so they carry over seamlessly when you upgrade.

== Changelog ==

= 1.0.1 - 2026-05-15 =
* Enhancement: Consolidated the four paid-feature settings tabs (Avatars, PINs, Integrations, Advanced) into a single Premium Features tab for a cleaner admin experience.
* Enhancement: Raised the maximum number of profiles per account from 5 to 10. Site owners can override this further by defining `PROFILESWITCH_LITE_MAX_PROFILES` in `wp-config.php`.

= 1.0.0 - 2026-05-12 =
* Initial release.
