You can undo all customizations you made to a template, resetting the template to the default settings. This guide will show you how to reset a template.
You can revert a template to the theme’s default settings. This will remove all customizations and cannot be undone.
To undo all the edits and customizations and restore a template to its default state, follow these steps:
- Visit your site’s dashboard.
- Navigate to Appearance → Editor.
- Click on the “Templates” option on the left sidebar to display all the templates on your site.
- If a template has been customized, clicking on the three dots at the bottom right of any template will reveal the “Reset” option:
![Reset template option for a customized template.](https://en-support.files.wordpress.com/2024/05/reset-template.png?w=836)
- Select the “Reset” option, and click on the button labeled “Reset” on the confirmation box.
- The changes will immediately be reverted to the default layout. This change cannot be undone.
![Reverted template notification at the bottom left corner of the "Manage all templates" screen.](https://en-support.files.wordpress.com/2024/05/reset-template-confirmation.png?w=379)
You can reset the customizations on all of the templates you’ve modified by using the Bulk edit option. Resetting all templates will restore them to the theme’s default. This change cannot be undone.
To reset all templates:
- Visit your site’s dashboard.
- Navigate to Appearance → Editor.
- Click on the “Templates” option on the left sidebar to display all the templates on your site.
- Click on “Bulk edit” at the top right, and choose “Select all” to select every customized template.
- The Bulk edit button will change to “Edit X items“. Click that new option, and select the “Reset” option.
If the Reset option cannot be selected, you have no customizations to reset.
![Bulk reset templates.](https://en-support.files.wordpress.com/2024/05/bulk-reset-templates.png?w=576)
You can also reset a template using the Editor Command Palette by following these steps:
- Visit your site’s dashboard.
- Navigate to Appearance → Editor.
- Click on the “Templates” option on the left sidebar to display all the templates on your site.
- Click on the name of the template, then click on the editing area on the right to open up the editor interface.
- On your keyboard, press Cmd+k on Mac or Ctrl+k on Windows to open the Command Palette.
- Alternatively, you can click the template title to open the Command Palette.
- Type “reset” in the search field. If “Reset template” doesn’t appear, there are no changes to reset.
- Select the “Reset template” option.
- Click the “Save” button.
![Reset template from the Command Center.](https://en-support.files.wordpress.com/2024/01/reset-template-from-command-center.png)