Reply To: How to create page templates for children's theme?

Home Forums Support How to create page templates for children's theme? Reply To: How to create page templates for children's theme?

#160474
Tom
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/