The idea around WP Framework’s directory structure was to organize everything with obvious names so you can quickly find or figure out what a particular file does, or what a folder might contain.
wpframework/
In the root directory, you’ll notice all of the standard WordPress template files available for a theme. Page templates, Category templates, and all other template types will also be placed here in the root directory.
- library/
The library centralizes all of the framework files, extensions, and media assets specific to your theme.- extensions/
Extensions are bits of code that extends WP Framework’s default behavior. Included by default is semantic classes. You don’t need extensions for your theme to function properly though.- semantic-classes.php
- functions/
The functions directory contains all the core functionality for the framework.- comments.php
- functions.php
- hooks.php
- pluggable.php
- widgets.php
- media/
The media folder contains all assets specific to your theme. So all your CSS, images, JavaScript files go in here within their respective folders.- css
- images
- js
- layouts
- custom-functions.php
- framework.php
- extensions/
- 404.php
- archive.php
- attachment.php
- author.php
- category.php
- comments.php
- date.php
- footer.php
- functions.php
- header.php
- index.php
- navigation.php
- page.php
- search.php
- searchform.php
- sidebar.php
- single.php
- style.css
- tag.php