How To

How to Switch Pattern into Home Page in WordPress?

Which template draws your WordPress homepage, how front-page.html differs from home.html, and how to swap in a new pattern in the Site Editor or page.

Shashank Dubey
·12 min read
Diagram showing how WordPress picks the homepage: Reading setting, Front Page template, then page content

To switch a pattern into your home page in WordPress, first work out which template draws your homepage, then change that. On a block theme with posts on the homepage, open Appearance > Editor > Templates, edit the Blog Home or Front Page template, and pick a new pattern from its Design panel. If your homepage is a static page, open that page and insert or replace a pattern in its content, as long as the Front Page template still holds a Post Content block.

Most “I changed the pattern and nothing happened” reports come from editing the wrong layer. WordPress has three places that can control what visitors see at your root URL: the Reading setting, the template, and the page content. This guide shows how to tell which one is in charge on your site, then how to swap in a pattern in each case.

Our team checked every label and rule below against WordPress core trunk (7.2 RC1), the Gutenberg repository and developer.wordpress.org on 18 November 2026. Current stable WordPress is 7.1.4. The page had no recorded Search Console queries when we refreshed it, so the headings follow the questions site owners ask when a new homepage layout refuses to appear.

What does “switching a pattern into the home page” mean?

A pattern is a saved arrangement of blocks: a hero with a heading and button, a row of three services, a grid of latest posts. Inserting one drops copies of those blocks wherever you put it. Once inserted, the blocks are yours to edit. Changing the original pattern later does not change the copy (synced patterns are the exception, covered below).

So “switching a pattern into the home page” really means one of two jobs:

  • Replacing the layout of the homepage template. This is the frame around everything: header, main area, footer. On block themes you do this in the Site Editor.
  • Replacing the content of the page you use as your homepage. This is what sits inside the Post Content block when you have a static homepage. You do this in the normal page editor.

Which job you need depends on two settings. Get those right first and the rest takes a couple of minutes. For the basics of what patterns are and where they come from, see our guide to WordPress block patterns.

Which template controls my WordPress homepage?

WordPress picks the homepage template through the template hierarchy. The front page check runs first, and core describes the Front Page template like this in block-template-utils.php: “The Front Page template takes precedence over all templates.” It is used for the homepage whether that shows your latest posts or a static page.

If the theme has no Front Page template, WordPress falls through to the next option, which depends on your Reading setting:

Settings > Reading choice

Front Page template exists

No Front Page template

Your latest posts

Front Page template

Blog Home template, then Index

A static page, homepage set

Front Page template (page content shows only through its Post Content block)

The page’s own template: custom template, then page-{slug}, page-{id}, Page, Single Entries, Index

Posts page (static setup)

Not used for the posts page

Blog Home template, then Index

In core this is two functions in template.php: get_front_page_template() looks for front-page, and get_home_template() looks for home and then index. Block themes use the same names with an .html extension in their templates/ folder, and the Site Editor shows them as Front Page and Blog Home.

A quick check: none of the recent default themes (Twenty Twenty-Three, Twenty Twenty-Four and Twenty Twenty-Five) ship a front-page.html file. All three ship home.html. So on a fresh default block theme, a “latest posts” homepage is drawn by Blog Home. A Front Page template only exists there if you or a plugin created one.

What is the difference between front-page.html and home.html?

This is the single most confusing pair in block theming, so here it is in plain words.

  • front-page.html (Front Page) is for your site’s root URL and nothing else. It wins over every other template when someone visits the homepage.
  • home.html (Blog Home) is for the list of your latest posts. Core’s own description says it “Displays the latest posts as either the site homepage or as the ‘Posts page’ as defined under reading settings.” It is the blog index, wherever that index lives.

The names are a leftover from classic themes, where “home” always meant the blog index and “front page” meant the root URL. The word “home” in home.html does not mean homepage. If you remember one thing from this guide, remember that.

Practical consequences:

  1. If you want a designed landing homepage and a separate blog, the cleanest setup is a static homepage plus a posts page, with a Front Page template (or the Page template) for the homepage and Blog Home for the blog.
  2. If your homepage is the blog itself, edit Blog Home. Creating a Front Page template as well means Blog Home no longer draws the homepage.
  3. If you add a Front Page template while using a static homepage, it must contain a Post Content block or the page’s own content disappears from the homepage.

How do I check what my homepage is set to show?

Go to Settings > Reading and look at “Your homepage displays”. You will see two choices: “Your latest posts” and “A static page (select below)”. With the static option you pick a “Homepage” and, optionally, a “Posts page”. Core warns that these two should not be the same page. The Reading Settings documentation covers the rest of that screen.

If the static page dropdowns are empty, you have no published pages yet. WordPress only lists published pages there. A draft will not appear.

On a block theme you can also manage this from the Site Editor. Open Appearance > Editor > Pages, open the actions menu on any published page, and choose Set as homepage or Set as posts page. Those actions came from Gutenberg pull requests #65426 and #67650 in late 2024 and are part of core now. They need the manage_options capability, so editors will not see them.

If you prefer the command line, WP-CLI reads and writes the same three options. Checked on 18 Nov 2026 against the wp option update reference:

# Checked on 18 Nov 2026 (WordPress 7.1.4, WP-CLI 2.x)
# What is the homepage set to show? "posts" or "page"
wp option get show_on_front

# Find the ID of the page you want
wp post list --post_type=page --post_status=publish --fields=ID,post_title

# Use page 42 as the homepage and page 57 as the posts page
wp option update show_on_front page
wp option update page_on_front 42
wp option update page_for_posts 57

How do I switch the homepage template to a different pattern?

Use this when your homepage shows latest posts, or when you want to change the frame (header, hero, footer arrangement) around a static homepage. Steps checked in WordPress 7.1 with Twenty Twenty-Five:

  1. Go to Appearance > Editor and choose Templates.
  2. Open Blog Home if your homepage shows latest posts and you have no Front Page template. Open Front Page if it exists.
  3. Open the Settings sidebar (the panel icon at the top right) with the template selected, not a block inside it.
  4. Find the Design panel. It lists patterns that the theme registered for this template type. Click one to replace the whole template layout with it.
  5. Review the result in the canvas, adjust text and images, then click Save.

The Design panel only shows patterns whose Template Types header includes the current template slug. We confirmed this in the Gutenberg source: the filter keeps patterns where pattern.templateTypes includes the template’s slug. If the panel is missing, your theme registered no template patterns for that template. You can still change the layout by hand: delete blocks, then insert a pattern from the inserter (the + button, then the Patterns tab).

Creating a Front Page template from a pattern

If you want a dedicated homepage design and your theme has no Front Page template, add one: Appearance > Editor > Templates, then Add New Template and choose Front Page. If the theme registered patterns for front-page, a “Choose a pattern” window opens so you can start from one. The Starter Patterns handbook page shows this flow with Twenty Twenty-Four.

Before you save, decide where the homepage content lives. If your homepage is a static page, keep a Post Content block in this template. If you design everything directly in the template, the page you picked in Reading becomes an empty placeholder, which confuses whoever edits it later.

How do I replace the content of a static homepage with a pattern?

Use this when Settings > Reading points at a page called something like “Home”, and you want new content on it.

  1. Go to Pages, open the page marked “Front Page” in the list.
  2. Select the blocks you want to replace. Click the first block, then Shift + click the last. Or open the List View (the stacked-lines icon) to select whole sections.
  3. Delete them, or keep them and insert the new pattern above so you can copy over text.
  4. Click the + inserter, open Patterns, pick a category, and click a pattern to insert it.
  5. Edit the copy, swap images, then Save.

Most patterns arrive wrapped in a Group block, which makes them easy to move or delete as one unit. Our explainer on the Group block covers how that wrapper handles width and spacing.

The “Choose a pattern” window on new pages

When you create a brand new page, WordPress may show a “Choose a pattern” window. Those are starter page patterns: patterns that declare core/post-content in their Block Types. Picking one fills the page in one step. You can turn the window off with its “Show starter patterns” toggle. That window only appears for an empty new page, so for an existing homepage use the inserter as above. We cover building a page from a design in more depth in how to add a new WordPress page with a design.

Can I make a homepage pattern for my own theme?

Yes. If you build or maintain a block theme, register a template pattern so site owners can switch the homepage layout from the Design panel. Put a PHP file in the theme’s patterns/ folder with these headers. Checked on 18 Nov 2026 against the Registering Patterns and Starter Patterns handbook pages:

<?php
/**
 * Title: Home landing
 * Slug: mytheme/home-landing
 * Template Types: front-page, home
 * Viewport width: 1376
 * Inserter: no
 */
?>
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-group">
	<!-- wp:heading {"level":1} -->
	<h1 class="wp-block-heading">Welcome</h1>
	<!-- /wp:heading -->

	<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
</main>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

Notes on that file:

  • Template Types ties it to the Front Page and Blog Home templates. Supported values include index, home, front-page, page, single, archive, search and 404.
  • Inserter: no keeps a full-page layout out of the normal block inserter, where it would make no sense.
  • The Post Content block keeps a static homepage’s own content visible. Leave it out only if the homepage is designed entirely in the template.

To show the same layout in the theme file itself, templates/front-page.html can call the pattern with one line instead of repeating its markup:

<!-- Checked on 18 Nov 2026 -->
<!-- wp:pattern {"slug":"mytheme/home-landing"} /-->

For a page-content starter (the “Choose a pattern” window), use Block Types: core/post-content and Post Types: page instead of Template Types.

Why is my new homepage pattern not showing?

Run through these in order. Each one is a real cause we see over and over.

  1. You edited the page, but a template ignores it. If a Front Page template exists and has no Post Content block, nothing you put in the page shows on the homepage.
  2. You edited Blog Home, but a Front Page template exists. The Front Page template wins for the root URL. Edit that one, or delete it so Blog Home takes over.
  3. You saved the theme file, but the template was customised in the Site Editor. Once you edit a template in the Site Editor, WordPress stores your version in the database as a wp_template post, and that copy beats the theme file. Use the template’s Reset action to go back to the file version.
  4. The Reading setting points somewhere else. Check Settings > Reading after any theme switch or import. Demo importers often change it.
  5. A cache serves the old page. Clear your page cache plugin, host cache and CDN after saving. Logged-in views often bypass the cache, so check in a private window.

To see which templates were customised in the database, this lists them. Checked on 18 Nov 2026:

# Templates saved from the Site Editor (database copies)
wp post list --post_type=wp_template --fields=ID,post_name,post_status,post_modified

Common mistakes people report

These come from real threads on the WordPress.org support forums and the Gutenberg GitHub repository. We paraphrased them and checked each link on 18 November 2026.

  • Editing the homepage page, seeing no change on the site. A Blockme theme user changed the homepage in the page editor but nothing changed outside it, even with no cache. They found the fix themselves: on a block theme, edit the Front Page template in the Site Editor. (WordPress.org support, March 2024)
  • A self-made Front Page template wiping out page content. A Twenty Twenty-Five user set a page as the static homepage and everything but the header vanished. They had created a Front Page template earlier, and deleting it brought the page back. (WordPress.org support, July 2026)
  • No static page option in Reading. Another Twenty Twenty-Five user could not find where to set a static front page. The first question from the volunteer was whether they had a published page, because WordPress only lists published pages in that dropdown. (WordPress.org support, December 2024)
  • Expecting the Front Page template on a URL that is not the front page. A Query Loop in a Front Page template did not appear on a test copy of a site in a subfolder. A volunteer explained that an internal URL is not the site’s front page, so it does not pick up that template, and switching Reading to “Your latest posts” made it display. (WordPress.org support, April 2023)
  • Confusion over Homepage and Posts page “pages”. A developer asked why these pages are editable when templates draw them, and noted the Front Page template had to include the Post Content block. The question still has no answer, which shows how unclear this split is. (Gutenberg discussion #54483, September 2023)

Should I put my homepage design in the template or in the page?

Both work. The right choice depends on who edits the homepage after launch.

Approach

Best for

Watch out for

Design in the Front Page template

Developers, sites where the homepage layout rarely changes

Editors must use the Site Editor; page content is ignored without Post Content

Design in a static page

Teams where non-technical editors update homepage text

The page template must give enough width; a Front Page template needs Post Content

Edit Blog Home

Blogs where the homepage is the post list

Creating a Front Page template later takes over the homepage

Synced pattern in the page

Sections repeated on several pages, such as a call to action

Edits to it change every page that uses it

Our default for client sites is a static homepage with content in the page and a simple template around it. Editors stay in the page editor they already know, and the template only handles header and footer. When a homepage is mostly dynamic (latest posts, product grids, query loops), we design it in the template instead.

How do synced patterns change this?

A synced pattern (called a reusable block before WordPress 6.3) is stored once and inserted by reference. Edit it anywhere and every copy updates. That is handy for a homepage call to action you also show on other pages.

Two cautions. First, editing a synced pattern inside your homepage edits it everywhere. Second, if you want a one-off variation, use the “Detach” option on that copy first, which turns it back into normal blocks. Patterns that come with your theme are not synced; they become ordinary blocks when inserted.

How do I switch the homepage pattern safely on a live site?

A homepage change is the most visible edit you can make, so treat it like an update:

  • Try the new pattern on a staging copy or a local install first. Our guide to installing WordPress on localhost gets you a test site in a few minutes.
  • Take a backup, or at least note which template and page you are about to change. Templates keep revisions, so you can go back from the template’s revision history too.
  • Check the result at phone width. Patterns from different sources mix spacing presets badly, and the gap often shows up only on small screens.
  • Clear caches and confirm logged out.

If the change goes alongside theme or plugin updates, follow the order in our guide to updating WordPress safely so you know which change caused any problem.

Frequently asked questions

Does changing the homepage pattern affect SEO?

The pattern itself does not. What matters is the content: if the new layout drops your main heading, intro text or internal links, the page loses those signals. Keep one clear H1 and the text that explains what the site does.

Can I use a different pattern on mobile?

Not natively. Core has no per-device block visibility setting. Pick a pattern that stacks well, or use a plugin that adds visibility controls if you truly need separate layouts.

Where did the “Edit Site” link go?

On block themes the admin bar shows “Edit Site”, which opens the Site Editor. In wp-admin it is Appearance > Editor. Classic themes have no Site Editor, so there you change the homepage through the page editor and the Customizer.

I use a classic theme. Does any of this apply?

The Reading setting and page-content method apply in full. Template patterns and the Design panel do not, because classic themes use PHP templates such as front-page.php and home.php. The same naming rule holds: home.php is the blog index.

Why does my Posts page show nothing I typed into it?

Because WordPress draws the posts page with the Blog Home template (or Index), not with the page’s own content. Write any intro text into the Blog Home template instead.

Our take

Switching a homepage pattern is a two-minute job once you know which layer owns the homepage. Check Settings > Reading, check whether a Front Page template exists, and then edit the template or the page. Nearly every “my changes are not showing” thread we read came down to editing the wrong one.

Part of the Wbcom Designs family

The all-in-one WordPress community stack

Also ours: wbcomdesigns.comvapvarun.combrndle.com