close
Guides/Edit your website/Themes/Themes, templates, and pages

Themes, templates, and pages

Last reviewed on April 24, 2026

When you build a site on WordPress, three layers work together to create what visitors see: your theme, your templates, and your content. This guide explains how these layers work in block themes, which are the most common theme type on WordPress.

Your theme

Your theme is the overall look and feel of your site. It sets the default colors, fonts, spacing, and layout that apply across every page. When you activate a theme, you’re choosing a starting point for your site’s design.

Several theme thumbnails in the Theme Gallery.
The Theme Showcase at Appearance → Themes

Learn how to pick the perfect theme.

Your templates

Inside your theme, templates control the layout of specific types of content. Your site has separate templates for pages, posts, your homepage, archive listings, and more. Each template defines where elements like the header, footer, and content area appear.

When you edit a template, the change appears everywhere that template is used. For example, if you change the header in your Pages template, every page on your site using that template reflects the update.

You view and edit templates in the same Site Editor from Appearance → Editor → Templates.

The Site Editor open to the Templates menu item and template thumbnails appear on the right.

Learn how to work with your site’s templates.

Your content

Your pages and posts are where you add your own content—the text, images, and blocks that make your site yours. This content appears inside the template’s content area. The template provides the surrounding structure (header, footer, sidebar), and your content fills the space in between.

This is the layer you’ll edit most often. You edit pages from Pages and posts from Posts in your dashboard.

An about us page open in the editor with the list view and page sidebar both open.

Learn how to work with pages and posts.

How the layers connect

Here’s how the three layers work together: your theme sets the overall design, your templates define the layout for each type of content, and your content lives in pages and posts. Each layer nests inside the one above it.

Select a theme

Several theme thumbnails in the Theme Gallery.

Customize template and layout

The Site Editor open to the Templates menu item and template thumbnails appear on the right.

Create content

An about us page open in the editor with the list view and page sidebar both open.

When a visitor views one of your pages or posts, WordPress combines all three layers: it takes your theme’s styles, applies the matching template’s layout, and fills in the content you’ve written.

Where to make changes

Knowing which layer to edit is the key to working with block themes:

  • To change your site’s overall look and feel, select a theme through Appearance → Themes.
  • To change the header, footer, or page layout, edit the template in Appearance → Editor → Templates.
  • To change the text, images, or blocks on a specific page, edit the page from Pages → select the page.

⚠️

Watch out for content in templates. A common mistake is adding page-specific content (like text or images) directly to a template. Because templates are shared, that content then appears on every page using that template. If this happens, see Fix content added to a template instead of a page.

Where to go next

These guides cover each part of the system in more detail:

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!