-
-
Notifications
You must be signed in to change notification settings - Fork 0
Parent: Backend #391
Description
Summary
This task tracks the development of all WP Admin-related tasks required for the Tour Operator 2.0 release, including Settings and Block Editor issues. Each task is essential for improving the admin interface, settings, and functionality within the plugin. All necessary tasks are listed below.
This issue aims to define the types of blocks, patterns, and templates that will exist within the LSX Tour Operator plugin. The focus is on organizing these elements to enhance usability while ensuring they are correctly registered and categorized according to WordPress standards.
Editor experience
- Registering the post types & custom fields: Register Custom Fields per Post Type using JSON #407
- Meta boxes / CMB2: Backend - CMB2 Fields - Custom Fields Meta Panel & Field Groupings #350
- Block options sidebar: Backend - Block Options - Sidebar Meta Panel with Custom Fields #349
- Add support Sticky posts Backend - Post Settings - Enable “Sticky Post” Option #399
- Enable ordering for destinations in "Post options" panel Enable Ordering Field for Destinations Post Type #396
Templates & Patterns
- Register Block Templates: #Registering block templates #346
- Register Block Category: Register Custom Block Category:
Tour Operator#403 - Register Blocks: Parent: Tour Operator Blocks #356
- Register Pattern Category: Backend - Site Editor - Patterns - Register Custom Pattern Category:
Tour Operator#404 - Register Patterns: Register Tour Operator Patterns #363
- Register Starter Patterns for Templates: Create Starter Patterns for tours, accommodation & destinations (countries & regions) #390
WP-Admin & Settings
Additional Considerations
- Block Type Category: Carefully categorize each block to enhance discoverability and usability within the block editor.
- Block Keywords: Include relevant keywords in each block's metadata to make it easier for users to find and use blocks.
- Allowed Blocks: Define which blocks are allowed within certain parent blocks to maintain design consistency.
- Block Previews: Decide whether to include a preview for each block and, if so, create attractive preview designs to display in the block editor.
Developer Documentation References
- Metadata in block.json: Learn more about the benefits of using the
block.jsonmetadata file here. - Block Registration: Review guidelines for the registration of blocks on both server and client-side.
- Custom Templates: For detailed guidance on adding custom templates, refer to Adding Custom Templates.
- Block Locking: Explore techniques for block locking to prevent accidental changes to critical content blocks.
- Starter Patterns and Block Variations: Understand the process of creating and registering starter patterns and block variations, including building a query loop block variation.
Additional Context
This feature is essential for enhancing the structure, usability, and flexibility of the LSX Tour Operator plugin. Defining these blocks, patterns, and templates will help create a more intuitive experience for users, enabling them to build sophisticated layouts without relying on third-party solutions.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status