> WP Use parent template wordpress plugin resources analysis

WP Use parent template wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name WP Use parent template
Version 0.4
Author kanonji
Rating 20
Last updated 2011-11-05 11:51:00
Downloads
927
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
WP Use parent template plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

WP Use parent template plugin added 2 bytes of resources to the Home page and 5 bytes of resources to the sample Post page.

WP Use parent template plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! WP Use parent template plugin ads no tables to your Wordpress blog database.

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. http://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.
Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Chooko Lite screenshot

Chooko Lite

by: Iceable

17774
100%
Goa screenshot

Goa

by: tskk

884
0%