Plugin info

Total downloads: 2,194
Active installs: 10
Total reviews: 1
Average rating: 1
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 12/6/2011 (5187 days ago)
Added to WordPress: 11/6/2011 (14 years old)
Minimum WordPress version: 3.2
Tested up to WordPress version: 3.2.1
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 5187 days ago • 1 reviews

22/100

Is WP Use parent template abandoned?

Possibly abandoned (last update 5187 days ago).

Compatibility

Requires WordPress: 3.2
Tested up to: 3.2.1
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Category Template Hierarchy
Rating 5.0/5 (3 reviews)Active installs 100
Which Template Am I
Rating 5.0/5 (3 reviews)Active installs 200
Show Theme File
Rating 4.5/5 (2 reviews)Active installs 10
LMB^Box Child Theme Hierarchy
Rating 0.0/5 (0 reviews)Active installs 0
Admin Menu Tree Page View
Rating 4.6/5 (48 reviews)Active installs 10,000
Advanced Sidebar Menu
Rating 4.5/5 (37 reviews)Active installs 10,000

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.

Installation

No installation instructions available

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

0.4

  • Fix readme.txt

0.3

  • Fix readme.txt

0.2

  • Released.

0.1

  • My local use.