Level
Beginner
Steps
7
Time
About 10 minutes
You’ll need
YOOtheme Pro 5 on WordPress or Joomla, and access to the page you were editing. Builder History is optional.
If you accidentally deleted a section in YOOtheme Pro and haven’t saved since, click Cancel: the layout goes back to your last save, section included. Already saved a page or post? Restore it from a WordPress revision or a Joomla version. A saved template or footer, or a layout deleted from My Layouts, needs a downloaded copy or a backup.
YOOtheme Pro has no undo button in the builder (we checked version 5.0.50, released on 2 October 2026). Ctrl+Z, or ⌘Z on a Mac, only undoes typing inside a text field, so it won’t bring a section back. If you haven’t saved since the deletion, leave Save Layout alone for now: your last save still has the section.
Not saved yet
Click Cancel in the builder. It throws away every change since your last save, the deletion included.
Saved a page or post (WordPress)
Restore an earlier revision of the page.
Saved an article (Joomla)
Restore an earlier version of the article.
Saved a template or the footer
Upload a layout file you downloaded earlier, or get it from a backup restored to a staging copy. The same goes for a layout deleted from My Layouts.
Builder still open, with Builder History
Press ⌘Z or Ctrl+Z, or restore an earlier point from the History panel.
How to get back an accidentally deleted section before you save
YOOtheme Pro keeps your edits in the builder until you save them. Its page builder documentation says that clicking Cancel or leaving the page builder “will discard all layout changes since the last saving.” The deletion is one of those changes, so Cancel puts the section back.
Cancel also throws away everything else you did since that save. If that’s two minutes of work, click it and carry on. If it’s an hour of work, save the good parts to the layout library first and load them back afterwards.
-
01
Keep the sections you changed since your last save
Skip this step if you made no other changes worth keeping. Otherwise, hover each section you changed and click its Save in library icon. The section goes into My Layouts, where it stays after you cancel.
-
02
Click Cancel
Click Cancel next to Save Layout in the top right corner of the builder. The layout returns to your last save, with the deleted section where it was.
-
03
Load your newer sections back
Click Library and open My Layouts. In the lower left corner, change the loading option from Replace layout, which would swap out the whole page, to Insert at the top or Insert at the bottom. Click each section you saved, drag it into place, and delete any older copy of it that the cancel brought back. Then click Save Layout.

How to restore a previous layout from revisions or versions
If you saved after the deletion, an earlier copy of the page is probably still on your site. YOOtheme Pro has no revisions of its own, but it saves a page’s layout inside the page or article itself, so each save adds a WordPress revision or a Joomla version. YOOtheme’s WordPress documentation says revisions “are supported out of the box”, and the Joomla documentation says the same about versions.
This covers pages, posts and Joomla articles. A restore brings back the whole layout as it was at that save, so start by keeping a copy of what you have now.
-
01
Save the current layout as a restore point
In the builder, click Library, then Save Layout in the upper right corner, and give it a name you’ll recognise, such as “Before restore”. If the restore goes wrong, loading this layout puts the page back where you started.
-
02
Find the last save that still has the section
On WordPress, open the page in the editor and click the number next to Revisions in the Page tab of the settings sidebar. In the classic editor, click Browse next to Revisions in the Publish box. On Joomla, open the article and click Versions in the toolbar. Each entry is one save, with its date and time. Compare them and look for the save where the section’s text disappears, then pick the save just before it.
-
03
Restore it
On WordPress, click Restore. On Joomla, select the version, click Restore and then save the article, because Joomla’s Restore only loads the version into the edit form. Open the page in the YOOtheme builder and the section is back, along with everything else from that save.
-
04
Bring your newer work back
If you changed other parts of the page after the deletion, hover the recovered section and click Save in library. Load “Before restore” from My Layouts with Replace layout, then load the section with Insert at the top, drag it to where it belongs and click Save Layout.
Revisions only go back as far as your site keeps them. WordPress can be set to keep a few revisions or none, with the WP_POST_REVISIONS setting in wp-config.php. Joomla deletes the oldest versions once an article reaches its Maximum Versions, set under Content › Articles › Options on the Editing Layout tab. If the save you need is gone, the backup route in the next section works for pages too.
Templates, the footer and saved layouts need a backup
Revisions and versions belong to pages, posts and articles. YOOtheme saves templates, the footer and the layouts in My Layouts with its own settings, so none of them has a revision list. The layout library documentation lists Rename, Download and Delete for saved layouts, and nothing that brings a deleted one back.
If you ever downloaded the layout with Download or Download All, that JSON file is your copy. Click Upload Layout in the library to add it back to My Layouts. Otherwise you need a backup from before the deletion, from your host or your backup plugin.
Restoring the whole site would also roll back everything that changed since the backup, such as new orders or form entries. It’s safer to restore the backup to a staging copy and open the template or page there. Save its layout to My Layouts and click Download. On the live site, upload that file and load it with Replace layout for a whole template, or with Insert at the top for a single section.
How to undo a deleted section while the builder is open
Builder History, our extension for YOOtheme Pro 5, adds undo in the YOOtheme Pro builder, so you can take a deletion back as soon as it happens, before anything is saved. Undo, Redo and History sit at the top of the builder sidebar, next to Close, in every builder: pages, templates, the footer, widgets or Joomla modules, and menu dropdowns.
- Press ⌘Z on macOS or Ctrl+Z on Windows and Linux, or click Undo. Deleting a section is one step, so one undo brings it back with its rows and elements.
- Open History to see every change, newest first, grouped by save. Click an entry and choose Restore to go back to that point, even one from before your last save in the same session.
- Undo and restore change the layout in the builder only. Click Save Layout to keep the result.
Builder History only covers the builder session you’re in. It keeps the last 50 steps while the builder is open, and reloading the page or leaving the builder starts a new history. Nothing is stored in the database, so a section you deleted yesterday is still a job for revisions or a backup.
Builder History costs €59.99 once and covers WordPress and Joomla on unlimited sites. With Builder Clipboard installed too, each paste, cut, duplicate or delete is a single step you can undo.
Habits that make the next deletion easy to fix
- Before you rework a page, click Library, then Save Layout. Loading that layout puts the page back exactly as it was.
- Download your saved layouts now and then with Download All, so a deleted library entry is one upload away.
- Check that your site keeps revisions (WordPress) or versions (Joomla), and how many.
- Keep daily backups, and know how to restore one to a staging copy before you need to.




