WordPress.org

Ready to get started?Download WordPress

Forums

Category Template Hierarchy
Does it work on sub-sub categories? (2 posts)

  1. bluantinoo
    Member
    Posted 1 year ago #

    Hello,
    I was wondering if the child-category-{slug|id}.php is applied just to 1st level children categories or to all sub-sub-sub-etc... categories.

    http://wordpress.org/extend/plugins/category-template-hierarchy/

  2. Eddie Moya
    Member
    Plugin Author

    Posted 1 year ago #

    It is only applied to first level children.

    I thought about making in inherit grandparents and such, however I felt it would have a large impact on performance because it would have to check all the parents of all the terms assigned for every taxonomy. In the future I'd like to add it as an option with the warning that it could slow down the site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.