subcategory dynamically matching parent category templates
I’m trying to make my sub categories templates match my parent category template dynamically.
I read the category templates documentation page but that only tells you how to customize each category template page… not how to automatically make the sub categories mimic the parent category template automatically.
is this possible or do i have to hard code every new category I create category-1.php, category-2.php, category-3.php, etc. ?
It would be tedious if I add a new sub category then have to go and hardcode a new subcategory template page … taking category-3.php (the exisiting parent category id) and renaming it to category-4.php (the new subcategory id) then upload via FTP
- The topic ‘subcategory dynamically matching parent category templates’ is closed to new replies.