WP Hierarchy - Updated by Việt Lâm Coder
Archive Page
Singular Page
Site Front Page
Blog Posts Index Page
Comments Popup Page
Error 404 Page
Search Result Page
Single Post Page
Static Page
Front page (front-page.php)
Author Archive
Category Archive
Custom Post Type Archive
Custom Taxonomy Archive
Date Archive
Tag Archive
Attachment Post
Custom Post
Blog Post
Page Template
Page Shown On Front
Posts Shown On Front
author-
$nicename.php
category-
$slug.php
taxonomy-
$tax-$term.php
Year Archive
Month Archive
Day Archive
tag-
$slug.php
$mimetype.php
single-
$posttype-$postname.php
(v 4.4+)
Custom Template
Default Template
author-
$id.php
category-
$id.php
taxonomy-
$taxonomy.php
tag-
$id.php
$subtype.php
$custom.php
$mimetype_
$subtype.php
page-
$slug.php
author.php
category.php
archive-
$posttype.php
taxonomy.php
date.php
tag.php
attachment.php
single-
$posttype.php
single-post.php
page-
$id.php
archive.php
single.php
page.php
home.php
comments-popup.php
404.php
search.php
Paged:true paged.php
Paged:false
singular.php
(v 4.3+)
index.php