=== Condotel ===
Contributors: rickgouin  
Donate link: https://www.rickgouin.com  
Tags: condo, hotel, scheduling, HOA, Homeowners Association  
Requires at least: 5.0
Tested up to: 6.9 
Requires PHP: 7.2
Stable tag: 1.0  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Full-featured stay management plugin for condotels, guest units, and HOAs.

== Description ==

Condotel allows property owners and managers to easily handle guest check-ins and check-outs, manage unit scheduling, track guest stays, monitor maximum stay limits, and display an interactive frontend interface for users.

**Key Features:**

* Admin dashboard with active stays, overstays, and stats
* User interface with statistics about their usage
* Email notifications on check-in or check-out
* Customizable settings for unit count, maxinmum stay, and more

== Installation ==

1. Install the plugin through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Configure plugin settings in the **Condotel** admin menu.
4. Use the `[condotel]` shortcode to display the check-in interface on any page.

== Frequently Asked Questions ==

= What does the shortcode [condotel] do? =
It displays the frontend check-in/check-out form for users. Place this on any page to show the frontend interface.

= How do I set the total number of Units in my complex? =
Go to Condotel <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Settings in your WordPress dashboard. Enter the total number of units in the Unit Count field and save changes.

= What is the number of units used for? =
Setting the total number of units in the complex allows the plugin to track occupancy percentages over time.

= I don't need to track number of people in a unit (guest count).  Can I disable that? =
Yes. In Condotel <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Settings, uncheck Track Guest Count and save. The check-in/out forms and reports will no longer display guest count fields.

= How do I check someone in from the admin area? =
Go to Condotel <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Dashboard, click Check In, choose a unit, fill in any guest details (if enabled), and click Confirm Check-In.

= How do I check someone out from the admin area? =
Go to Condotel <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Dashboard, find the unit under Active Stays, click Check Out, and confirm. The stay will be moved to the recent stays area.

= How does an administrator add a stay manually? =
From Condotel <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Dashboard, use the Add Stay option. Select the unit, set the check-in and check-out dates, and save. This is useful for entering past or upcoming stays.

= How do I view current occupancy and overstays? =
The Dashboard shows all active stays and flags any that have exceeded the maximum allowed stay duration.

= How do I set maximum stay limits? =
Go to Condotel <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Settings, enter the number of days in the Maximum Stay (Days) field, and save. 

= Does the plugin prohibit or enforce stays over the maximum length? =
No.  Maximum stay is for monitoring purposes.  It will notify the user and the admin that the person is over the maximum stay.  It will also keep track of these occurences.

= How do I manage unit information? =
Go to Condotel <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Units. Here you can assign unit numbers to your WordPress users.

= How do I get email notifications for check-ins/outs? =
In Condotel <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Settings, enable Email Notifications and enter one or more email addresses (comma separated). You will get an email each time someone checks in or out.

= Can I see occupancy statistics over time? =
Yes. In Condotel <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> Dashboard, use the reporting range selector (Monthly, Yearly, All Time) to see occupancy rates, busiest days, and top users.

= How do I change the date format displayed? =
Go to Settings <span aria-hidden="true" class="wp-exclude-emoji"><span aria-hidden="true" class="wp-exclude-emoji">→</span></span> General in WordPress and change the Date Format. Condotel uses your site-wide date format for all displays.

= How do I disable front-end check-in/out? =
Simply remove the page containing the [condotel] shortcode or restrict access to that page with WordPress page visibility settings.

= How do I clear all data if I stop using the plugin? =
Deactivate and delete the plugin from your WordPress dashboard. If you want to also remove all stored stays and settings, click “Delete” when prompted — the uninstall process will clean up all database entries.

== Screenshots ==

1. Admin dashboard showing active stays
2. Unit management screen
3. Front end user statistics area
4. Front end recent visits information
5. Front end check-in/check-out screen
6. Admin settings panel

== Changelog ==

= 1.0 =
* Initial release
* Check-in/check-out tracking
* Stay dashboard with overstays and busiest day
* Frontend shortcode and unit editing
* Settings page

== Upgrade Notice ==

= 1.0 =
Initial release – install and configure plugin via admin panel.

== License ==

This plugin is licensed under the GPLv2 or later. See https://www.gnu.org/licenses/gpl-2.0.html for details.