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

Continue the discussion

Published

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.

Presentation Slides »

Rate this:

Speakers

Justin Tadlock 17
Nick Diego 46

Tags

Developer Hours 16

Language

English 10763

Download
MP4: Low, Original
Subtitles
Subtitle this video →
Producer