WordPress Theme File Structure — a practical guide to WordPress theme file structure with clear examples you can reuse in real projects.
WordPress Theme Development Series (7/96). Prefer one article? Read the complete WordPress theme development tutorial.
Short description
Keep templates at the root (or in standard folders), assets in `/assets`, and reusable parts in `/template-parts`.
Classic structure
mytheme/
style.css
functions.php
index.php
header.php / footer.php
template-parts/
assets/css|js|images
languages/