-
-
Notifications
You must be signed in to change notification settings - Fork 0
Register Tour Operator Patterns #363
Copy link
Copy link
Closed as not planned
Labels
comp:block-patternsPatterns library/registrationPatterns library/registrationmeta:no-issue-activityNo recent issue activityNo recent issue activity
Milestone
Description
Description
We need to register all block-based templates and patterns within the Tour Operator Plugin as per the requirements from the 2.0 Development Spec and the Figma Prototype documents. The focus is on creating patterns that will enhance the user experience when creating and managing content for tours, accommodations, and destinations. All patterns have been built in the Demo Site, and code for them can be retrieved from there under My Patterns.
Tasks
- Patterns should be allocated to a pattern category: Backend - Site Editor - Patterns - Register Custom Pattern Category:
Tour Operator#404 - Patterns should be registered for specific block types as well as post types.
- Full-page patterns will be made up of smaller patterns
- Define the full list of patterns below.
- Register patterns to utilize specific block types
- Register patterns to use specific post types only.
- Allocate patterns to appropriate pattern categories for improved organization.
- Define whether to include pattern previews OR design preview images for a better user experience.
Patterns to Register
-
Card Patterns
- Tour Card
- Accommodation Card
- Destination Card
- Archive Card
- Specials Card
-
Section Patterns
- Featured Tours
- Featured Accommodation
- Featured Destination
- Reviews Section
-
CTA
- Centered Banner CTA
- Offset CTA
Full Page Layout Patterns
- Homepage
- About
- Tour Archive Page
- Single Tour Layout
- Accommodation Archive Page
- Single Accommodation Layout
- Destinations Landing Page
Requirements
- All patterns should be registered using the
register_block_pattern()function. - Patterns should be responsive and customizable.
- Ensure compatibility with the block editor and the existing LSX Design theme.
- Test installation on fresh WordPress setups to confirm proper pattern loading.
Developer Resources
Additional Notes
- Follow proper naming conventions for ease of access in the editor.
- Provide basic instructions for using patterns in the WordPress block editor.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
comp:block-patternsPatterns library/registrationPatterns library/registrationmeta:no-issue-activityNo recent issue activityNo recent issue activity
Type
Projects
Status
✅ Done