Riad Benguella explains one of the…

Riad Benguella explains one of the Full Site Editing tools being introduced in WordPress 5.8 — the template editor. This allows you to create, assign, and edit block templates for specific posts and pages. ✨

The templates are saved as a Custom Post Type named wp_template, and a REST API endpoint is available to fetch them. By default, the new template editor is enabled for all themes, but themes can opt-out of this feature with one line of code in functions.php.

In related WordPress 5.8 block editor development news, Greg Ziółkowski explains some block editor API changes to support multiple admin screens.

Similar Posts