---
title: Templates and parts
summary: The templates and template parts LanternWP ships, by file name.
url: https://lanternwp.com/developers/reference/templates
updated: 2026-10-08
---

# Templates and parts

Generated from the theme and LanternWP Companion with every release; do not edit it by hand.

A file of the same name in a [child theme](../child-theme.md) replaces the theme's. Template part slugs are part of the [public API](../public-api.md).

## Templates

| File                     | Used for                                          |
| ------------------------ | ------------------------------------------------- |
| `404`                    | The not found page                                |
| `archive`                | Category, tag, date and author archives of posts  |
| `archive-product`        | The shop, and product categories, tags and brands |
| `front-page`             | The front page                                    |
| `home`                   | The posts page                                    |
| `index`                  | Anything no other template matches                |
| `order-confirmation`     | The order received page                           |
| `page`                   | Pages                                             |
| `page-account`           | Account page: a template to choose for page       |
| `page-cart`              | The cart page                                     |
| `page-checkout`          | The checkout page                                 |
| `page-no-title`          | Page without title: a template to choose for page |
| `page-wide`              | Wide page: a template to choose for page          |
| `product-search-results` | Search results for products                       |
| `search`                 | Search results                                    |
| `single`                 | Posts                                             |
| `single-product`         | Product pages                                     |

## Template parts

| Slug              | Title           | Area   |
| ----------------- | --------------- | ------ |
| `header`          | Header          | header |
| `footer`          | Footer          | footer |
| `checkout-header` | Checkout Header | header |
| `checkout-footer` | Checkout Footer | footer |
