front-page.php vs home.php
Understand the difference between the site front page and the blog posts index.
WordPress theme development tutorials
Understand the difference between the site front page and the blog posts index.
Learn how WordPress chooses which template file to load for each request.
Split shared chrome into header and footer templates for every page.
Create header.php with doctype, wp_head, site branding, and primary navigation.
Close the document in footer.php and call wp_footer for scripts.
Organize templates, template parts, assets, and includes for maintainable themes.
Declare theme metadata in style.css so WordPress recognizes your theme.
Use functions.php to register supports, menus, widgets, and enqueue assets.
Build the fallback template that WordPress uses when no more specific template matches.