A simple plugin that lets category archive pages inherit their’s parents’ template. Initially posted in the support forum on wordpress.org.

In category page this look for a custom template for the category(`category-XX.php`) and if it doesn’t exist look for the parent’s template and if no category template found til the top level, then goes back to normal template hierarchy (`archive.php` and `index.php`). Works with WP 2.0/2.1.

Download

Inherit category template

One Response to “Inherit category template”

  1. RaduMa Says:

    i used this plugin, but i have a problem: it does not keep the parent/child category when i try to view a post.

    i created for example category-14, which is one of the parent categories, and indeed, when i click a child of this categ, it keeps the template. but vhen i try to view on of the posts in any child of c..-14, it does not use the template.

    how can i keep the template when i view the posts?


Leave a Reply