I’m using the twentyfourteen theme and have created a child theme with its own style.css. Now I’d like to create a custom page template. From all I’ve read the process seems to be:
- Make a copy of the existing page template, e.g., page.php, and place it still in the parent theme directory but give it a new name.
- Make the changes you want to this new template.
- Any elements you create can be given unique classes and then styled by the style.css in the child theme.
Does that sound right?
One question is, How is the new template assigned to the page? Do I have to manually go into the Page Attributes and select the new template, or will it get pulled automatically from the template hierarchy?
Thanks for your help.
You have to choose in the
Page Attributes
section. Refer the below URL.https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
http://www.smashingmagazine.com/2015/06/wordpress-custom-page-templates/
Custom page template