=== Destinely Experiences Widget ===
Contributors: destinely
Tags: hotel, booking, experiences, widget, tourism, local experiences, guest services
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 2.7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Help your hotel guests discover amazing local experiences and increase your revenue with our simple, effective widget.

== Description ==

The Destinely Experiences Widget is a WordPress plugin designed specifically for hotels to enhance guest experiences and generate additional revenue. The widget automatically appears after guests complete their hotel booking, showcasing nearby local experiences that they can book directly.

= Key Features =

* **Real-time Data**: Fetches live experiences from Supabase database
* **Simple Setup**: Just enter your Hotel ID, customize title and color
* **Responsive Design**: Works perfectly on all devices
* **Revenue Generation**: Earn commission on every experience booking
* **Google Maps Integration**: Shows real distances to experiences
* **WordPress Integration**: Easy installation and configuration

= How It Works =

1. **Guest Books Hotel**: Guest completes booking on your website
2. **Widget Appears**: Destinely widget automatically shows nearby experiences
3. **Guest Browses**: Guest can view, compare, and book local experiences
4. **You Earn**: Hotel earns commission on every experience booking made

= Simple Configuration =

The plugin requires only three settings:
* **Hotel ID**: Your unique identifier from Destinely dashboard
* **Widget Title**: Customize the widget header text
* **Widget Color**: Match your hotel's branding

== Installation ==

1. Download the plugin ZIP file
2. Upload to WordPress admin → Plugins → Add New → Upload Plugin
3. Activate the plugin
4. Go to Settings → Destinely Widget
5. Click "Create Hotel Account" to get your Hotel ID
6. Enter your Hotel ID in the settings
7. Customize widget title and color
8. Enable the widget on booking confirmation pages

== Getting Your Hotel ID ==

1. Click "Create Hotel Account" in the plugin settings
2. Fill out your hotel details on destinely.com
3. Complete the onboarding process
4. Copy your Hotel ID from the dashboard
5. Paste it into the plugin settings

That's it! Your widget will now show real, location-based experiences to your guests.

== Frequently Asked Questions ==

= Do I need a Destinely account? =

Yes, you need a Destinely hotel partner account to get your Hotel ID. The plugin will guide you through creating an account with a simple "Create Hotel Account" button.

= How do I get my Hotel ID? =

Click "Create Hotel Account" in the plugin settings, complete the signup process on destinely.com, and your Hotel ID will be provided in your dashboard.

= How much commission do I earn? =

Hotels earn 5% commission on every experience booking made through the widget. There are no setup fees or monthly costs. Payments are processed securely through Pesapal.

= Can I customize the widget appearance? =

Yes, you can customize the widget title and color through the plugin settings page. Advanced customization is managed by platform administrators.

= Does the widget affect my website performance? =

No, the widget is optimized for performance and loads asynchronously without affecting your page load times.

= Is the widget mobile-friendly? =

Yes, the widget is fully responsive and provides an excellent experience on all devices.

== Screenshots ==

1. Simple plugin settings page with Hotel ID, title, and color options
2. Widget appearance on hotel website
3. Experience cards with real data and distances
4. Mobile-responsive widget design

== Changelog ==

= 2.7.0 =
* Plugin config fully aligned with widget - assetBaseUrl for animations (animations.js, animations.css)
* Configurable API base URL via destinely_api_base filter (for staging/custom deployments)
* All widget settings (position, size, show prices/ratings/duration, max experiences, status) passed to embed
* Embed script and assets load from same base URL

= 2.6.0 =
* Added Section Title setting - customize the experiences list heading (e.g. "Nearby Experiences")
* Plugin settings now match platform widget (widget_title, widget_section_title, widget_color)
* Aligned with Destinely platform admin dashboard widget customization

= 2.5.0 =
* Updated payment integration to Pesapal
* Automatic revenue splitting (80% provider, 15% platform, 5% hotel)
* Secure payment processing with holding period
* Enhanced booking flow with real-time updates
* Improved error handling and user experience

= 2.1.0 =
* Simplified MVP version with essential features only
* Removed complex settings (position, size, auto-open, etc.)
* Focus on Hotel ID, title, and color customization
* Improved Google Maps integration
* Better error handling and fallbacks
* WordPress.org compliance improvements

= 2.0.0 =
* Complete rewrite with new widget functionality
* Supabase integration for real-time data
* Enhanced UI/UX with modern design
* Improved booking detection methods
* Better mobile responsiveness
* Offline support and caching
* Enhanced customization options
* Performance optimizations
* Better error handling
* Updated admin interface

= 1.0.0 =
* Initial release
* Basic widget functionality
* Simple configuration options
* WordPress integration

== Upgrade Notice ==

= 2.7.0 =
Plugin config fully aligned with widget. Animations and assets now load correctly. Use destinely_api_base filter for custom API URL.

= 2.6.0 =
Added Section Title setting to match platform widget customization. Settings now fully aligned with Destinely admin dashboard.

= 2.1.0 =
Simplified MVP version focusing on essential features. Advanced settings are now managed centrally by platform administrators.

== Support ==

For support, please visit our [support center](https://destinely.com/support) or contact us at support@destinely.com.

== Privacy Policy ==

This plugin collects minimal data necessary for widget functionality. No personal guest data is stored by the plugin. All data handling is done through secure Supabase connections.

== Requirements ==

* WordPress 5.0 or higher
* PHP 7.4 or higher
* Modern web browser
* Destinely hotel partner account