September 10, 2024
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.
Justin Tadlock 17
Nick Diego 46