Add core data structures for Buildings and Rooms (v0.1.0)
All checks were successful
Create Release Package / build-release (push) Successful in 1m6s
All checks were successful
Create Release Package / build-release (push) Successful in 1m6s
Phase 1 implementation includes: - Custom Post Type: Buildings with address, contact, and details meta - Custom Post Type: Rooms with building relationship and gallery - Custom Taxonomy: Room Types (hierarchical) - Custom Taxonomy: Amenities (non-hierarchical with icons) - Admin columns, filters, and status badges - Gallery meta box with media library integration Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
46
CHANGELOG.md
46
CHANGELOG.md
@@ -5,6 +5,51 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.1.0] - 2026-01-31
|
||||
|
||||
### Added
|
||||
|
||||
- Custom Post Type: Buildings (`bnb_building`)
|
||||
- Address fields (street, city, state, ZIP, country)
|
||||
- Contact information (phone, email, website)
|
||||
- Building details (total rooms, floors, year built)
|
||||
- Check-in/check-out time configuration
|
||||
- Featured image support
|
||||
- Custom admin columns (city, country, room count)
|
||||
- Sortable columns
|
||||
- Custom Post Type: Rooms (`bnb_room`)
|
||||
- Building relationship (parent building selection)
|
||||
- Room details (number, floor, size, capacity)
|
||||
- Guest capacity (total, max adults, max children)
|
||||
- Beds description and bathroom count
|
||||
- Room status (available, occupied, maintenance, blocked)
|
||||
- Image gallery with drag-and-drop sorting
|
||||
- Featured image support
|
||||
- Custom admin columns (building, room number, type, capacity, status)
|
||||
- Building filter dropdown in admin list
|
||||
- Custom Taxonomy: Room Types (`bnb_room_type`)
|
||||
- Hierarchical (category-like) structure
|
||||
- Default types: Standard, Superior, Suite, Family, Accessible, Apartment
|
||||
- Subtypes: Single, Double, Twin, Junior Suite, Executive Suite
|
||||
- Base capacity meta field
|
||||
- Sort order meta field
|
||||
- Custom Taxonomy: Amenities (`bnb_amenity`)
|
||||
- Non-hierarchical (tag-like) structure
|
||||
- Default amenities: WiFi, Parking, Breakfast, TV, A/C, Pet Friendly, etc.
|
||||
- Dashicon selection for visual display
|
||||
- Custom column showing icon
|
||||
- Admin enhancements
|
||||
- Gallery meta box with media library integration
|
||||
- Status badges with color coding
|
||||
- Custom title placeholders for each post type
|
||||
- Post type edit screens with proper asset loading
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated admin assets to handle post type edit screens
|
||||
- Enhanced asset enqueuing to include jQuery UI Sortable for galleries
|
||||
- Improved localization with additional i18n strings
|
||||
|
||||
## [0.0.1] - 2026-01-31
|
||||
|
||||
### Added
|
||||
@@ -35,4 +80,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Input sanitization and output escaping
|
||||
- Server secret masking in license settings
|
||||
|
||||
[0.1.0]: https://src.bundespruefstelle.ch/magdev/wp-bnb/releases/tag/v0.1.0
|
||||
[0.0.1]: https://src.bundespruefstelle.ch/magdev/wp-bnb/releases/tag/v0.0.1
|
||||
|
||||
Reference in New Issue
Block a user