Setup & site building · Guide
How to Change WordPress Page Template (Step by Step)

Short answer
Open the page in the editor, select the Page tab in the right sidebar and click the current template next to Template. Choose a new template from the list and click Update. Classic themes also let you change templates from Quick Edit on the Pages screen.
Key takeaways
- The Template setting lives in the Page tab of the editor sidebar.
- Block themes let you swap or create templates from that panel.
- Classic themes support Quick Edit and Bulk Edit template changes.
- Edit the Pages template in the Site Editor to change all pages.
- Changing a template does not delete content or change URLs.
How do you change a page template in WordPress?
Open the page in the editor, select the Page tab in the right sidebar, click the current template name next to Template, choose a different template from the list, and click Update.
That works for both block themes and classic themes, although the panel looks slightly different in each. Classic themes also let you change the template from Quick Edit on the Pages screen.
A page template controls the layout around your content, such as whether a sidebar, title or full-width area appears. Changing it does not delete your content.
If you are new to templates, read what a WordPress template is before you start.
What is a page template in WordPress?
A page template is a theme file or block template that decides how a page is laid out, such as default, full width, no sidebar or blank canvas, while the page content itself stays the same.
Themes include a default template used for every page. Many also add extra templates, such as Full Width or No Title, that you can pick per page.
If you want more layout choices, browse the WordPress theme directory and check the theme demo for the page templates it ships with. Some free themes include five or more page layouts, while others include just one.
In classic themes, these are PHP files. The page template files handbook explains how they work.
In block themes, templates are made of blocks and can be edited visually in the Site Editor.
WordPress chooses the default template through the template hierarchy. Picking a template manually overrides that choice for one page.
How do you change the template in a block theme?
In a block theme, open the page, go to the Page tab, click the template name next to Template, and pick another template from the menu or swap to a template you created in the Site Editor.
- Go to Pages > All Pages and open the page.
- Click the Settings icon at the top right to show the sidebar.
- Select the Page tab.
- Click the template name beside Template, such as Pages or Default template.
- Choose Change template (or Swap template) and select one from the list.
- Click Update or Save.
The list shows templates your theme provides plus any custom templates you have made. Themes like Twenty Twenty-Five include options such as a page without a title.
You can also choose Create new template from the same menu. That opens a blank custom template that you can design and then assign to this page.
How do you change the template in a classic theme?
In a classic theme, open the page, find the Template dropdown in the Page tab or Page Attributes panel, choose a template such as Full Width, and click Update.
- Open the page for editing.
- In the sidebar, open the Page tab.
- Find Template or the older Page Attributes panel.
- Pick a template from the dropdown.
- Click Update.
If you use the Classic Editor plugin, the Page Attributes box sits on the right side of the screen, below Publish.
The dropdown only lists templates your theme or plugins register. If the list is empty, the theme only has one page layout.
How do you change page templates with Quick Edit or Bulk Edit?
On classic themes, you can change a page template without opening it by using Quick Edit, and change many pages at once with Bulk Edit from the Pages screen.
For one page:
- Go to Pages > All Pages.
- Hover over the page and click Quick Edit.
- Choose a new option from the Template dropdown.
- Click Update.
For several pages, tick their checkboxes, choose Edit from Bulk actions, click Apply, set the Template dropdown and click Update.
Block themes may not show the template field in Quick Edit. In that case, change it from the editor sidebar.
How do you change the default template for all pages?
To change how every page looks by default, edit the Pages template in the Site Editor for block themes, or edit the page.php file in a child theme for classic themes.
For block themes:
- Go to Appearance > Editor.
- Click Templates.
- Select Pages (sometimes called Page or Single Page).
- Edit the layout and click Save.
Every page using the default template will update. Pages with a template assigned manually keep their own layout.
The Learn WordPress site has free lessons on editing templates in the Site Editor.
For classic themes, copy page.php into a child theme before editing it. Changes to the parent theme are lost when it updates.
How do you change templates in Elementor?
In Elementor, open the page, click the gear icon for Page Settings, and choose Default, Elementor Canvas or Elementor Full Width from the Page Layout setting, then click Update.
- Default uses your theme's normal page template, including header, footer and sidebar.
- Elementor Canvas removes the theme header and footer, giving a blank page.
- Elementor Full Width keeps the header and footer but removes the sidebar and content width limits.
You can also set these options from the WordPress Template dropdown, as Elementor registers them as page templates. See the Elementor help center for builder-specific options.
Our guide to Elementor page settings covers the rest of that panel.
How do you create a custom page template?
Create a custom page template in a block theme from the Template menu or Site Editor, or in a classic theme by adding a PHP file with a Template Name header to your child theme.
For classic themes, a minimal template file starts with a comment like this:
<?php
/*
* Template Name: Landing Page
*/
get_header();
// your loop and layout here
get_footer();
Upload it to your child theme folder. It then appears in the Template dropdown for every page.
Our full guide on how to create a custom page template in WordPress walks through both methods.
Why is the template option missing?
The template option goes missing when your theme has only one page template, the sidebar is set to the Block tab, you are editing a post rather than a page, or your role cannot change templates.
| Cause | Fix |
|---|---|
| Sidebar on Block tab | Click the Page tab |
| Theme has no extra templates | Create a custom template or switch theme |
| Editing a post | Posts use different templates; check the Post tab |
| Low user role | Ask an Administrator or Editor |
| Page set as Posts page | Assigned blog pages ignore their own template |
| Plugin conflict | Test with plugins deactivated |
The page you set as your Posts page under Settings > Reading always uses the blog template. Its own template setting is ignored.
If you recently switched theme, your old templates may no longer exist. Pages that used them fall back to the default template.
This is common after moving from a classic theme to a block theme. Make a list of pages that used special templates before you switch, so you can recreate those layouts quickly afterwards.
Does changing a page template affect content or SEO?
Changing a page template does not delete content or change the URL, but it can hide elements like the title or sidebar and may change headings, so check the page after switching.
Templates that hide the page title can remove the main H1 from the page. Add a Heading block with an H1 if that happens.
Templates with no header or footer remove your menu and internal links. Use them only for landing pages where that is intended.
Before trying many changes on a live site, take a backup or use staging. Our guide on whether you can switch themes without losing content explains what moves with you and what does not.
How do you remove a page template?
To remove a template from a page, set the Template option back to Default; to delete a custom template entirely, remove it in the Site Editor or delete the file from your child theme.
Pages using a deleted template fall back to the default template automatically.
For more detail, see how to remove a template from WordPress.
Frequently asked questions
Why does my page not have a template option?
Your theme may only include one page template, you may be on the Block tab instead of the Page tab, or the page may be set as the Posts page. Assigned blog pages always use the blog template and ignore their own setting.
Will changing the template delete my page content?
No. The content of the page is stored separately from the template. Changing templates only changes the layout around the content, though some templates hide elements like the title, sidebar, header or footer.
Can I change the template of a blog post?
Yes, if your theme provides post templates. In block themes, open the post, select the Post tab and change the template there. Classic themes need templates that declare support for posts before they appear.
What is the difference between Elementor Canvas and Full Width?
Elementor Canvas removes the theme header, footer and sidebar, leaving a blank page to design. Elementor Full Width keeps the header and footer but removes the sidebar and content width limits.
How do I change the template for every page at once?
In block themes, edit the Pages template in the Site Editor so every page using the default template updates. In classic themes, use Bulk Edit on the Pages screen to assign a template to many pages.
Sources
- Page Template Files WordPress Developer Resources
- Template Hierarchy WordPress Developer Resources
- Child Themes WordPress Developer Resources
- Learn WordPress WordPress.org
- Elementor Help Center Elementor
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


