The Newfangled Theme provides an example organizational structure to manage your templates and assets. Aside from the key files and functionality described here, this structure can be used as-is or modified as needed.
.git/ │ README.md │ wp-content/themes/newfangled-theme/ │ └─── style.css │ │ ** Loads the css partials │ └─── functions.php │ │ ** Example theme functionality, and loads required functionality from nf-inc │ │ └─── assets/ │ │ │ └─── css/ │ │ │ │ │ └─── style.css │ │ │ │ │ │ ** CSS loader │ │ │ │ │ └─── demo/ │ │ │ │ │ │ ** Example theme styles │ │ │ │ │ └─── lib/ │ │ │ │ │ │ ** Example 3rd-party styles │ │ │ │ │ └─── nf/ │ │ │ │ ** Styles for the Newfangled elements │ │ │ └─── images/ │ │ │ │ ** Example images │ │ │ └─── js/ │ │ │ └─── demo/ │ │ │ │ ** Example theme scripts │ │ │ └─── lib/ │ │ ** Example 3rd-party scripts │ └─── nf-inc/ │ │ ** Required Newfangled functionality and filters │ │ └─── nf-templates/ | | ** Template overrides for Newfangled plugin templates │ │ └─── templates/ ** Example template partials for the theme styling