Theme Files

I've shown you a sample index.php file, but as I mentioned earlier, there are many other theme files you can use to customize various portions of your site. Table 6-1 lists the files.

Table 6-1. Required files and reserved file names.

Required

Optional Includes

Optional Archives and Pages

404.php

archive.php

author.php

author- id.php

author- nickname.php

category.php

category- id.php

category-slug.php

comments.php

comments-popup.php

date.php

footer.php

functions.php

header.php

home.php

index.php

links.php

page.php

page-id.php

page-name.php

screenshot.png

search.php

searchform.php

sidebar.php

sidebar- name.php

single.php

single-content-type.php

style.css

tag.php

tag-slug.php

taxonomy.php

taxonomy- name.php

taxonomy- name- term.php

0 0

Post a comment