=== Shared House ===
Contributors: xav999
Donate link: https://www.shared-house.com
Tags: booking calendar, availability calendar, reservation calendar, holiday rental, vacation rental
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed a Shared House booking and availability calendar on your WordPress site.

== Description ==

This plugin displays a booking / availability calendar on your WordPress website.

The calendar is designed for vacation home owners. It shows available periods, booked periods and pending inquiries. An optional season legend (very high, high, medium, low) can be displayed.

The calendar itself is hosted on shared-house.com. Creating a free listing there is required to show your own dates. A demo listing is used until you enter your number.

You can display the calendar:

* as a widget (Appearance → Widgets, or a Legacy Widget block)
* with the shortcode `[shared_house]`
* with optional shortcode attributes: `[shared_house numero="132" langue="en" saisons="avec"]`

More information: https://www.shared-house.com/free-booking-calendar.php

== Screenshots ==

1. Shared House availability calendar on a website.

== Installation ==

1. Sign up for free on [shared-house.com](https://www.shared-house.com/admin.php?langue=en) and create a listing. Note the listing number.
2. Install the plugin from Plugins → Add New, or upload the zip.
3. Activate Shared House.
4. Open Settings → Shared House and enter your listing number, language and season legend.
5. Add the **Shared House calendar** widget to a sidebar, or paste `[shared_house]` in a page or post.

== Frequently Asked Questions ==

= Do I need a Shared House account? =

Yes, to show your own availability. The plugin can be tested with the default demo listing.

= Which languages are supported? =

French, English, Dutch, Spanish, German and Finnish.

= Does this store booking data in WordPress? =

No. Dates are managed on shared-house.com. The plugin only embeds the calendar.

== Changelog ==

= 2.1.1 =
* Resizes the calendar iframe to the embedded content height.

= 2.1.0 =
* Uses the new single Shared House embed (one iframe, modern calendar).

= 2.0.0 =
* Compatible with current WordPress (6.0–7.0).
* Replaces the removed `register_sidebar_widget` API with `WP_Widget`.
* Adds a `[shared_house]` shortcode.
* Uses HTTPS embeds and the WordPress Settings API.
* Stops deleting settings on deactivation.

= 1.0.1 =
* Change in footer links.

= 1.0 =
* First release.

== Upgrade Notice ==

= 2.0.0 =
Required for WordPress 5.8 and later. Your listing number is kept. Place the widget again if the old sidebar widget disappeared.
