Title: WP Use parent template
Author: kanonji
Published: <strong>November 6, 2011</strong>
Last modified: December 6, 2011

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-use-parent-template.svg)

# WP Use parent template

 By [kanonji](https://profiles.wordpress.org/kanonji/)

[Download](https://downloads.wordpress.org/plugin/wp-use-parent-template.zip)

 * [Details](https://az-tr.wordpress.org/plugins/wp-use-parent-template/#description)
 * [Reviews](https://az-tr.wordpress.org/plugins/wp-use-parent-template/#reviews)
 * [Development](https://az-tr.wordpress.org/plugins/wp-use-parent-template/#developers)

 [Support](https://wordpress.org/support/plugin/wp-use-parent-template/)

## Description

#### Features

 * use parent template for child category.
 * use parent template for child page.

If you have works category with some child categories as followings, you may want
to use ‘category-works.php’ for all three child categories. You need to copy as ‘
category-design.php’ and the rest in default template hierarchy. WP Use parent template
patches the template hierarchy to use parent template for these child categories.
And also pages too.

 * example.com/works/design
 * example.com/works/illust
 * example.com/works/photo

#### Category template hierarchy

 1. category-{slug}.php
 2. category-{id}.php
 3. category-{parent slug}.php //Add by WP Use parent template
 4. category-{parent id}.php //Add by WP Use parent template
 5. category.php
 6. archive.php
 7. index.php

#### Page template hierarchy

 1. custom template file
 2. page-{slug}.php
 3. page-{id}.php
 4. page-{parent slug}.php //Add by WP Use parent template
 5. page-{parent id}.php //Add by WP Use parent template
 6. page.php
 7. index.php

See following for WordPress default template hierarchy.
 https://codex.wordpress.
org/Template_Hierarchy

#### Notes

 * Able to use only one generation age template. ‘category-child.php’ is able to
   use as parent template for grandchild in the example of ‘example.com/parent/child/
   grandchild’.
 * You may need to change parent template to handle child data.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP Use parent template” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ kanonji ](https://profiles.wordpress.org/kanonji/)

[Translate “WP Use parent template” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-use-parent-template)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-use-parent-template/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-use-parent-template/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-use-parent-template/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-use-parent-template/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.4

 * Fix readme.txt

#### 0.3

 * Fix readme.txt

#### 0.2

 * Released.

#### 0.1

 * My local use.

## Meta

 *  Version **0.4**
 *  Last updated **14 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.2 or higher **
 *  Tested up to **3.2.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-use-parent-template/)
 * Tags
 * [category](https://az-tr.wordpress.org/plugins/tags/category/)[hierarchy](https://az-tr.wordpress.org/plugins/tags/hierarchy/)
   [page](https://az-tr.wordpress.org/plugins/tags/page/)[template](https://az-tr.wordpress.org/plugins/tags/template/)
 *  [Advanced View](https://az-tr.wordpress.org/plugins/wp-use-parent-template/advanced/)

## Ratings

 1 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/wp-use-parent-template/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-use-parent-template/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-use-parent-template/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-use-parent-template/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/wp-use-parent-template/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-use-parent-template/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-use-parent-template/reviews/)

## Contributors

 *   [ kanonji ](https://profiles.wordpress.org/kanonji/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-use-parent-template/)