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