Twenty Twelve comes with some page templates: Front Page & Full Width. These are in the folder /page-templates.
I’ve created my own template and saved it into this folder, but it is not present to be selected when editing a page.
There is no mention of the two page templates in functions.php
What do I need to do to include my new page template?
2 Answers
Put the template file in your theme and add the following comment to the top of your file after the
/**
* Template Name: This is the name of your template
*/
WordPress will pick this up and in the page templates dropdown you will see “This is the name of your template” listed as an option