BACK TO DIRECTORY
Allows theme authors to include templates that will be automatically used based on the page’s parent.
For example, adding the file “page-123.php” to the “child-page-templates” folder in your theme directory will define the template for all pages that are children of the page with ID #123. You can also do the same thing with the post’s slug.
This template file will be used for all pages that are children of the page with ID #123:
/wp-content/themes/your-awesome-theme/child-page-templates/page-123.php
This template file will be used for all pages that are children of the page with the “team” slug:
/wp-content/themes/your-awesome-theme/child-page-templates/page-team.php
Plugin Details
Active Installs
10Total Downloads
4,277Version
1.0.2Requires WP
3.3Requires PHP
—Tested Up To
3.4.2Added
2012-09-28Last Updated
2012-09-28 1:28am GMTRatings
5
0
4
0
3
0
2
0
1
0