# How do I recover a previous theme

**URL:** https://meta.discourse.org/t/how-do-i-recover-a-previous-theme/395226
**Category:** Support
**Created:** [2 בפברואר,‏ 2026,‏ 6:16am UTC](https://meta.discourse.org/t/how-do-i-recover-a-previous-theme/395226 "2026-02-02T06:16:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mayank\_Garg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mayank_garg/32/445739_2.png) [@Mayank\_Garg](https://meta.discourse.org/u/Mayank_Garg)
#### Post date: [2 בפברואר,‏ 2026,‏ 6:16am UTC](https://meta.discourse.org/t/how-do-i-recover-a-previous-theme/395226/1 "2026-02-02T06:16:13Z")

</div>

Hii All,  
I attempted to configure a local theme as a **component** , but it did not function as expected. I subsequently tried to reconfigure the local theme as a **child theme** to my original parent theme. This process took place in the development environment; however, I am now unable to retrieve the previous version of the theme or the changes I had implemented.

Can anyone please help me recover the previous state of this theme or provide guidance on how to restore the lost changes?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [4 בפברואר,‏ 2026,‏ 11:22pm UTC](https://meta.discourse.org/t/how-do-i-recover-a-previous-theme/395226/2 "2026-02-04T23:22:52Z")

</div>

Oh so sorry to hear, there are complex ways to recover in the dev environment, you could go fishing through `logs/development.log` but I do not think we store history in our actual DB.

The best and safest approach it to lean on version control for all your themes and components, be sure to have each of them in version control.

How did you end up going?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [4 בפברואר,‏ 2026,‏ 11:49pm UTC](https://meta.discourse.org/t/how-do-i-recover-a-previous-theme/395226/3 "2026-02-04T23:49:13Z")

</div>

Did you check the staff action logs at `yourForum/admin/logs/staff_action_logs`?

There should be logs related to the change theme action, and you can see the code of that theme when you check the details after clicking the “show” button on the right.

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/1/d/01d0048790e861dfd16858a0ab798cafcaa61ecf.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/7/e/27e0c9dbfb0081081d6e306747b0384375bfdd92.png)
