WordPress 6.7 will include a new template registration API, letting you register custom block templates in your plugins. This long-needed feature lets you create default front-end output that plays nicely with themes while also being customizable from the Site Editor by users.
In this Developer Hours session, we looked at:
The basics of registering templates for your plugin.
Working with the template hierarchy and themes.
Building custom templates for custom post types and taxonomies.
Taking your templates to the next level by integrating them with custom fields, block variations, and more.
Creating templates for entirely custom URLs built with the Rewrite API.
Presentation Slides » https://docs.google.com/document/d/1Z...
---
View this video and others on WordPress.TV: https://wordpress.tv/2024/09/10/devel...