Add core data structures for Buildings and Rooms (v0.1.0)
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:
2026-01-31 13:45:06 +01:00
parent d36b6c3dd9
commit f24a347bb1
11 changed files with 2077 additions and 32 deletions

38
PLAN.md
View File

@@ -17,24 +17,24 @@ This document outlines the implementation plan for the WP BnB Management plugin.
- [x] Basic CSS and JS assets
- [x] Documentation (README, PLAN, CLAUDE)
### v0.1.0 - Core Data Structures
### v0.1.0 - Core Data Structures (Current)
- [ ] Custom Post Type: Buildings
- [x] Custom Post Type: Buildings
- Meta fields: address, contact, description, images
- Admin columns and filtering
- Gutenberg block for display
- Gutenberg block for display (planned for Phase 6)
- [ ] Custom Post Type: Rooms
- [x] Custom Post Type: Rooms
- Meta fields: building reference, capacity, amenities, images
- Relationship to Buildings (parent)
- Admin columns with building filter
- Gutenberg block for display
- Gutenberg block for display (planned for Phase 6)
- [ ] Custom Taxonomy: Room Types
- [x] Custom Taxonomy: Room Types
- Standard, Suite, Family, Accessible, etc.
- Hierarchical structure
- [ ] Custom Taxonomy: Amenities
- [x] Custom Taxonomy: Amenities
- WiFi, Parking, Breakfast, etc.
- Non-hierarchical (tags)
@@ -285,15 +285,15 @@ The plugin will provide extensive hooks for customization:
## Version Milestones
| Version | Focus | Target |
|---------|-------|--------|
| 0.0.1 | Initial setup | Complete |
| 0.1.0 | Data structures | TBD |
| 0.2.0 | Pricing | TBD |
| 0.3.0 | Bookings | TBD |
| 0.4.0 | Guests | TBD |
| 0.5.0 | Services | TBD |
| 0.6.0 | Frontend | TBD |
| 0.7.0 | CF7 Integration | TBD |
| 0.8.0 | Dashboard | TBD |
| 1.0.0 | Stable Release | TBD |
| Version | Focus | Target |
| ------- | --------------- | -------- |
| 0.0.1 | Initial setup | Complete |
| 0.1.0 | Data structures | Complete |
| 0.2.0 | Pricing | TBD |
| 0.3.0 | Bookings | TBD |
| 0.4.0 | Guests | TBD |
| 0.5.0 | Services | TBD |
| 0.6.0 | Frontend | TBD |
| 0.7.0 | CF7 Integration | TBD |
| 0.8.0 | Dashboard | TBD |
| 1.0.0 | Stable Release | TBD |