underscores WordPress theme pages

The underscores WordPress template comes with a number of different pages and folders. They are as follows:

pages:

index.php

This page is used to display the main blog page

single.php

This page displays single posts.

page.php

For single pages.

archive.php

For all archive pages including categories, tags, and author archives.

search.php

The search results page.

404.php

The error page.

main elements

  • header.php
  • sidebar.php
  • and footer.php.

folders:

underscores (or _s) also has five folders:

  • inc ~ which has extra template functions and features;
  • js ~ which holds all the JavaScript files;
  • languages ~ translation files;
  • layouts;
  • template-parts ~ which contains the content loops, content-none.php, content-page.php, content-search.php, content-single.php, and content.php