Create function to make subcategory use parent category template