WordPress plugin intelligence profile

WP Use parent template

To use parent template for child categories or pages. This plugin patches template hierarchy. This plugin is for who create or customize themes.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.2
Current version0.4
WordPress coverageTested up to WordPress 3.2
Minimum stackWP 3.2 · PHP —
Directory statusactive
Last directory update6 Dec 201114y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating1.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP Use parent template version 0.4 as active, updated 14y ago and tested up to WordPress 3.2.

Overview

About this plugin

Features

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

php’ for all three child categories. 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

  • category-{slug}.php
  • category-{id}.php
  • category-{parent slug}.php //Add by WP Use parent template
  • category-{parent id}.php //Add by WP Use parent template
  • category.php
  • archive.php
  • index.php

Page template hierarchy

  • custom template file
  • page-{slug}.php
  • page-{id}.php
  • page-{parent slug}.php //Add by WP Use parent template
  • page-{parent id}.php //Add by WP Use parent template
  • page.php
  • index.php

See following for WordPress default template hierarchy.

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.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • category
  • hierarchy
  • page
  • template
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.2

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.2.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.2
Minimum requirementsWordPress 3.2 · PHP not listed
Update activity6 Dec 201114y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.