Developer Hours: A First Look at the Template Registration API in WordPress 6.7

8 Views
Published
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/1ZAu_JGCHfZmT4AP_yW9H_NeloKRT55gxadXclA3xlYk/

---
View this video and others on WordPress.TV: https://wordpress.tv/2024/09/10/developer-hours-a-first-look-at-the-template-registration-api-in-wordpress-6-7/
Category
WordPress
Tags
Developer Hours, Learn WordPress, Learn WordPress Online Workshops
Be the first to comment