Home › Forums › Support › How to create page templates for children's theme? › Reply To: How to create page templates for children's theme?
December 16, 2015 at 11:54 pm
#160474
Lead Developer
Lead Developer
Ah, copy the page.php template in GP and name it something else – page-whatever.php
Add it to your child theme.
At the top, add this:
<?php
/**
* Template Name: My Template Name
*
*/
Then code as needed.
More info on page templates here: https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development