Forums

Page Templates in Child Theme (1 post)

  1. iandstewart
    Member
    Posted 3 weeks ago #

    Anyone have an idea of how to get WordPress to recognize page templates in a child theme? That is, a theme with TEMPLATE:parent-theme in it's style.css. Something with a structure like so:

    parent-theme
    -[all the usual suspects and files]

    child-theme
    -[only the following files in this directory]
    -new-page-template.php
    -style.css
    -functions.php

    The idea here being that I could have access to new-page-template.php when writing pages while using child-theme.

    Ideally, I'd like to have the option of enabling this functionality in either the parent-theme (looks for page-templates) or in the child-theme (forces use of page-template). I think this would really help the development of CMS themes for WordPress.

    Any ideas?

Reply

You must log in to post.

About this Topic