# Sage 9 folder structure

**URL:** https://discourse.roots.io/t/sage-9-folder-structure/9880
**Category:** sage
**Created:** 2017-06-27T21:19:42Z
**Posts:** 5
**Showing post:** 5 of 5

## Post 5 by @jasperfrumau — 2017-07-01T05:20:30Z

Yeah, I think that is shown at `wp-includes/class-wp-theme.php` . See:

> <https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-theme.php#L1045>

WordPress does already scan one level deep.  
Also see [https://github.com/roots/sage/issues/1870](https://github.com/roots/sage/issues/1870) . Good discussion on the way WordPress scans for files and how Roots has come up with a way to load files from more than one level deep for files in `resources/views`. @ben mentioned this SO thread in the solved Roots Sage issue : [https://wordpress.stackexchange.com/questions/249984/page-template-in-two-level-deep-folder/250024#250024](https://wordpress.stackexchange.com/questions/249984/page-template-in-two-level-deep-folder/250024#250024) that explains things rather well too.

---

_[View the full topic](https://discourse.roots.io/t/sage-9-folder-structure/9880)._
