Ollie Theme Academy

Creating Templates

Creating a custom page template – B

Complete the custom page template by renaming the exported file to something descriptive (like “page-test.html”) and adding configuration to theme.json’s customTemplates section.

In theme.json, register your template with its file name, associated post types (usually just “page”), and a user-friendly title that appears in the template selector interface.

After saving theme.json, reload the site editor to see your properly registered template. It will now appear with the correct name and be available in the template selector when editing pages.

This manual configuration step ensures your custom page template integrates properly with WordPress’s template system and provides a professional user experience for content creators.

Back to: Ollie Theme Academy > Creating Templates