How Can We Help?
< Back
You are here:
Print

WP Themes hierarchies

Template Hierarchy Tutorial in WordPress for Beginners – WPWebHost

Generating blog post:
1.) single.php
2.) index.php

Displaying home page content:
1.) home.php
2.) index.php

WordPress page content:
1.) page.php
2.) index.php

Category content:
1.) category.php
2.) archive.php
3.) index.php

Displaying tags:
1.) tag.php
2.) archive.php
3.) index.php

Author content:
1.) author.php
2.) archive.php
3.) index.php

Search results:
1.) search.php
2.) index.php

Table of Contents