Allow placing theme templates in subdirectory
|Reported by:||bungeshea||Owned by:|
It would be nice if all theme templates, such as footer.php, header.php, and content parts such as content.php could be placed in a subdirectory in the theme, such as templates/, instead of in the theme root.
For a standard theme with few templates, placing the templates in the root is okay. However, when you add in content parts for post formats, and separate out the loop, you can end up with quite a few templates.
Add a screenshot.png, style.css, minified style.css, editor-style.css, readme, license, and perhaps a GruntJS file, Git config files, or a Compass config file, and the theme root becomes quite cluttered. Allowing templates files to be separated in a subdirectory would result in a much cleaner directory structure.
Change History (16)
3 years ago
- Component changed from General to Themes
- Keywords 2nd-opinion close added; reporter-feedback dev-feedback removed
2 years ago
- Keywords close removed
- Resolution set to wontfix
- Status changed from new to closed