Category Template Hierarchy

Version: 1.3.2.1

Overall Rating
WordPress Rating

Adds several new templates to the template hierarchy: child-of-category-{slug}.php category-{slug}.php child-of-category-{id}.php category-{term_id}.php parent-category.php child-category.php category.php archive.php index.php This greatly extends the native hierarchy of theme templates with regard to categories. Theme developers can now easily create separate templates for categories with children, with parents, and children of specific parents. Additionally makes available four (4) new conditional template tags: is_child_category(); is_parent_category(); is_child_of_category(); is_parent_of_category(); These functions are available for use in any theme or plugin as along as this plugin is active. For detailed documentation of these functions see the ‘Developer Notes: Conditional Tags’ section of this readme file. Note: This plugin does not actually create parent-category.php, child-category.php or any of their related templates – rather it modifies the native template hierarchy to allow theme developers to create specific templates for parent and child categories. Developer Notes: Template Hierarchy What follows are is the modified list of templates available for category pages. These expand upon the native Template Hierarchy. child-of-category-{slug}.php category-{slug}.php child-of-category-{id}.php category-{term_id}.php parent-category.php child-category.php category.php archive.php index.php The parent and child templates only become available if the current category is a parent or a child respectively. Note: This plugin does not actually create parent-category.php, child-category.php or any of their related templates – rather it modifies the native template hierarchy to allow theme developers to create specific templates for parent and child...

The plugin ran into some errors.

😞

Sorry, pal! The plugin couldn’t pass all our tests. No hard feelings, right?

  • Minimal impact on memory usage
  • Minimal impact on pagespeed
  • No PHP errors, warning, notices
  • No Javascript issues
  • Latest PHP 7.2.16 compatible
  • Latest WordPress 5.2.4 compatible
  • Optimized database footprint
  • No activation errors
  • No resource errors
  • Frequently updated
  • No problems were detected during tests.
00

Total
Downloads

00

Support
Thread

00

Active
Installation

0%

Growth
Rate

Performance

Memory Usage Memory Usage

  • Average memory usage is -12.01 KB
  • This is less than 99% plugins

Page Speed Page Speed

  • Average page loading time is increased by 0.04s
  • This is faster than 99% plugins

Page Tests (after activation)

Memory Usage Plugins Page

  • Page URL: /wp-admin/plugins.php?plugin_status=all&paged=1&s
  • HTTP Status: 200
  • Loading Time: 0.31s
  • Memory Usage: 0.44 MB

Memory Usage Front Page

  • Page URL: /
  • HTTP Status: 200
  • Loading Time: 0.26s
  • Memory Usage: 0.4 MB

WPHive User Rating

5

Overall Quality

Measures the overall quality

5

Ease of Use

How easy it is to use?

5

Quality of Support

Satisfied or not?

5

Value for Money

Is it good bang for the buck?

5

Features

Is it feature riched?

Rate Now

Speed Test Benchmark

  • Before plugin activation
  • After plugin activation

Pages

Benchmark

Change

Average Change
+ 0.04s
/(front page)
- 0.05s
/wp-admin/edit-comments.php
- 0.04s
/wp-admin/edit-tags.php?taxonomy=category
+ 0.09s
/wp-admin/edit.php
+ 0.06s
/wp-admin/index.php
- 0.06s
/wp-admin/media-new.php
- 0.09s
/wp-admin/options-discussion.php
- 0.02s
/wp-admin/options-writing.php
+ 0.06s
/wp-admin/post-new.php
- 0.04s
/wp-admin/post-new.php?post_type=page
+ 0.27s
/wp-admin/upload.php
+ 0.23s

Memory Usage Memory Usage Benchmark

  • Before plugin activation
  • After plugin activation

Pages

Benchmark

Change

Average Change
- 12.01KB
/ (front page)
- 8.51KB
/wp-admin/edit-comments.php
+ 0.17KB
/wp-admin/edit-tags.php?taxonomy=category
+ 0.38KB
/wp-admin/edit.php
+ 0.31KB
/wp-admin/index.php
+ 0.31KB
/wp-admin/media-new.php
+ 0.26KB
/wp-admin/options-discussion.php
+ 0.3KB
/wp-admin/options-writing.php
- 11.43KB
/wp-admin/post-new.php
+ 1.15KB
/wp-admin/post-new.php?post_type=page
+ 0.3KB
/wp-admin/upload.php
+ 0.24KB

Stats Stats

Download Statistics

Plugin Version Usage

0 weeks ago

Last Updated

0 Downloads

This week

9 years old

on WordPress

0 Ratings

on WordPress

Stats More

This section is not meant to be comprehensive.

Database Tables 0

The plugin has added 0 additional options to your WordPress.

WP-Options 0

The plugin has added 0 additional options to your WordPress website.

Errors

Frequently Updated

  • The plugin has not been updated in the last 90 days.
  • Read more how WP Hive determines this data.

Error Log

We found the following errors while activating the plugin. Read more how WP Hive generates this data.

  • [18-Oct-2019 13:27:14 UTC] PHP Deprecated: Non-static method Category_Template_Hierarchy::init() should not be called statically in /wp-content/plugins/category-template-hierarchy/category-template-hierarchy.php on line 126
  • [18-Oct-2019 13:27:14 UTC] PHP Deprecated: Non-static method Category_Template_Hierarchy::init() should not be called statically in /wp-content/plugins/category-template-hierarchy/category-template-hierarchy.php on line 126
  • [18-Oct-2019 13:27:14 UTC] PHP Deprecated: Non-static method Category_Template_Hierarchy::init() should not be called statically in /wp-content/plugins/category-template-hierarchy/category-template-hierarchy.php on line 126

Show Off Your Plugin

Love using this plugin?

Why don’t you compare the plugin side by
side with another plugin”

Ratings & Reviews

Overall Quality
5
Ease of Use
5
Quality of Support
5
Value for Money
5
Features
5

Category Template Hierarchy Review Write a Review

Filter Review

Are you an author
of this plugin?

  24 Jan, 2020

Saif Hassan


5/5
Overall
5/5
Easy of Use
5/5
Customer Support
5/5
Feature of Functionality
5/5
Value of Money

Pros & Cons: This is a review from the Editorial staff of WP Hive for test purposes. We are sure the plugin made it with good heart for WordPress users and we want to encourage his/her efforts by the first review.

Overall:The plugin should be working great. Even if it does not, we respect the time and effort. If you are using this plugin - leave a review with more information.

Overall Quality

Ease of Use

Quality of Support

Value for Money

Features