You are on page 1of 4

WORDPRESSTHEMEFILES

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

This is a partial that displays post comments.


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

This is a partial that contains all your important footer code.


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

This is the template file for your pages.


search.php

This is the template file for your search results pages.


sidebar.php

This is a partial that contains your sidebar.


WORDPRESSTHEMEFILESCHEATSHEET



single.php

This is the template file for your individual blog posts.


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

You might also like