Professional Documents
Culture Documents
404.php
This is the template for your 404 page. This page displays when the requested page cannot be
found.
archive.php
This is the template for your monthly and yearly archive pages that show all your old blog posts.
author.php
This is the template for all the blog posts by an author on your site.
category.php
This is the template for the archive of all the blog posts in a certain category.
comments.php
WORDPRESSTHEMEFILESCHEATSHEET
content.php
This is a partial that is used in your single.php template and it governs how blog posts are
displayed.
footer.php
front-page.php
This is the template for the front page, or homepage, of your site.
functions.php
This is a script file that contains custom functions for your theme or filters that set or change
default WordPress settings.
header.php
This is a partial that contains all your important header information, like your site title and
stylesheet links.
WORDPRESSTHEMEFILESCHEATSHEET
index.php
This is the default template for any page or post on your site.
/js
This is the folder where you store all your JavaScript files.
page.php
search.php
sidebar.php
WORDPRESSTHEMEFILESCHEATSHEET
single.php
style.css
This is the file that contains all your CSS. The theme name in the comment block at the top of
the file is what makes WordPress recognize your theme!
WORDPRESSTHEMEFILESCHEATSHEET