How to create new global page template in twenty-twenty-three
-
I was following the steps in the developer guide: https://developer.www.ads-software.com/themes/template-files-section/page-template-files/#creating-custom-page-templates-for-global-use
This mostly works, only the template files are now html files.
I changed the php extension by html and I do see the file and can select it as a template when editing pages.But I don’t manage to give my template a name.
This used to be done with a PHP comment at the top of the file. This obviously no longer applies but using an HTML comment doesn’t work either.Does somebody know how to name template files in twenty-twenty-three?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to create new global page template in twenty-twenty-three’ is closed to new replies.