Release v0.6.1 - Bug fixes and enhancements
All checks were successful
Create Release Package / build-release (push) Successful in 1m1s
All checks were successful
Create Release Package / build-release (push) Successful in 1m1s
New Features: - Auto-update system with configurable check frequency - Updates tab in settings with manual check button - Localhost development mode bypasses license validation - Extended general settings (address, contact, social media) - Pricing settings split into subtabs - Guest ID/passport encryption using AES-256-CBC - Guest auto-creation from booking form Bug Fixes: - Fixed Booking admin issues with auto-draft status - Fixed guest dropdown loading in booking form - Fixed booking history display on Guest edit page - Fixed service pricing meta box (Gutenberg hiding meta boxes) Changes: - Admin submenu reordered for better organization - Booking title shows guest name and dates (room removed) - Service, Guest, Booking use classic editor (not Gutenberg) - Settings tabs flush with content (no gap) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
65
README.md
65
README.md
@@ -10,11 +10,15 @@ WP BnB Management enables WordPress to act as a full management system for B&B h
|
||||
|
||||
- **Multi-Property Support**: Manage multiple buildings, each with multiple rooms
|
||||
- **Flexible Pricing**: Configure short-term (nights), mid-term (weeks), and long-term (months) pricing
|
||||
- **Seasonal Pricing**: Set price modifiers for high/low seasons
|
||||
- **Booking Management**: Track reservations from inquiry to checkout
|
||||
- **Guest Management**: Store guest information securely with GDPR compliance
|
||||
- **Data Encryption**: Sensitive guest data (ID/passport) encrypted at rest
|
||||
- **Additional Services**: Offer extras like breakfast, parking, or tours
|
||||
- **Frontend Integration**: Gutenberg blocks, widgets, and shortcodes
|
||||
- **Contact Form 7 Integration**: Accept booking requests through forms
|
||||
- **Auto-Updates**: Automatic update checks and installation from license server
|
||||
- **Development Mode**: License bypass for local development environments
|
||||
- **Contact Form 7 Integration**: Accept booking requests through forms (planned)
|
||||
|
||||
### Requirements
|
||||
|
||||
@@ -44,6 +48,23 @@ WP BnB Management enables WordPress to act as a full management system for B&B h
|
||||
|
||||
- **Business Name**: Your B&B business name
|
||||
- **Currency**: Select your preferred currency (CHF, EUR, USD, GBP)
|
||||
- **Business Address**: Street, city, postal code, country
|
||||
- **Contact Information**: Email, phone, website
|
||||
- **Social Media**: Facebook, Instagram, X (Twitter), LinkedIn, TripAdvisor
|
||||
|
||||
### Update Settings
|
||||
|
||||
- **Update Notifications**: Enable/disable update notifications in WordPress
|
||||
- **Automatic Updates**: Enable/disable automatic plugin updates
|
||||
- **Check Frequency**: How often to check for updates (1-168 hours)
|
||||
|
||||
### Development Mode
|
||||
|
||||
The plugin automatically detects local development environments and bypasses license validation. Supported environments:
|
||||
|
||||
- localhost, 127.0.0.1, ::1
|
||||
- Domains ending in .local, .test, .localhost, .dev, .ddev.site
|
||||
- Private IP ranges (10.x.x.x, 172.16-31.x.x, 192.168.x.x)
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -81,26 +102,46 @@ WP BnB Management enables WordPress to act as a full management system for B&B h
|
||||
Display buildings and rooms on your site using shortcodes:
|
||||
|
||||
```txt
|
||||
[wp_bnb_buildings]
|
||||
[wp_bnb_rooms building="123"]
|
||||
[wp_bnb_room_search]
|
||||
[bnb_buildings] - List all buildings (grid/list layout)
|
||||
[bnb_rooms building="123"] - List rooms, optionally filtered by building
|
||||
[bnb_room_search] - Interactive room search form
|
||||
[bnb_building id="123"] - Display a single building
|
||||
[bnb_room id="456"] - Display a single room with availability
|
||||
```
|
||||
|
||||
### Shortcode Attributes
|
||||
|
||||
**`[bnb_buildings]`** and **`[bnb_rooms]`**:
|
||||
|
||||
- `layout` - "grid" or "list" (default: grid)
|
||||
- `columns` - 1-4 columns (default: 3)
|
||||
- `limit` - Number of items (default: 12)
|
||||
- `orderby` - title, date, price, capacity (default: title)
|
||||
- `order` - ASC or DESC (default: ASC)
|
||||
|
||||
**`[bnb_rooms]`** additional attributes:
|
||||
|
||||
- `building` - Building ID to filter by
|
||||
- `room_type` - Room type slug to filter by
|
||||
- `amenities` - Comma-separated amenity slugs
|
||||
|
||||
## Gutenberg Blocks
|
||||
|
||||
The following blocks are available in the block editor:
|
||||
|
||||
- **Building** - Display a single building
|
||||
- **Room** - Display a single room
|
||||
- **Room Search** - Search and filter rooms
|
||||
- **Booking Form** - Accept booking requests
|
||||
- **Building** - Display a single building with details
|
||||
- **Room** - Display a single room with availability form
|
||||
- **Room Search** - Interactive search form with filters
|
||||
- **Buildings List** - Display buildings grid/list
|
||||
- **Rooms List** - Display rooms grid/list with filters
|
||||
|
||||
## Widgets
|
||||
|
||||
Available sidebar widgets:
|
||||
|
||||
- **Similar Rooms** - Show rooms similar to the current one
|
||||
- **Similar Rooms** - Show rooms from same building or room type
|
||||
- **Building Rooms** - List all rooms in a building
|
||||
- **Availability Calendar** - Mini calendar showing booking status
|
||||
|
||||
## Hooks and Filters
|
||||
|
||||
@@ -123,7 +164,7 @@ add_action( 'wp_bnb_before_booking_create', function( $booking_data ) {
|
||||
|
||||
### Do I need a license to use this plugin?
|
||||
|
||||
Yes, a valid license is required to use the frontend features. The admin functionality works without a license for evaluation purposes.
|
||||
Yes, a valid license is required to use the frontend features in production. The admin functionality works without a license for evaluation purposes. Local development environments (localhost, .local, .test, .dev domains) automatically bypass license validation.
|
||||
|
||||
### Can I manage multiple properties?
|
||||
|
||||
@@ -137,6 +178,10 @@ Yes, guest data can be exported and deleted on request, and consent is tracked a
|
||||
|
||||
WooCommerce integration for payments is planned for a future release.
|
||||
|
||||
### How is guest data secured?
|
||||
|
||||
Sensitive guest data like passport/ID numbers are encrypted using AES-256-CBC encryption before storage. The encryption key is derived from your WordPress AUTH_KEY, ensuring data is secure at rest.
|
||||
|
||||
## Changelog
|
||||
|
||||
See [CHANGELOG.md](CHANGELOG.md) for a detailed list of changes.
|
||||
|
||||
Reference in New Issue
Block a user