Archived topic
Retrieve deleted custom CSS
5 replies · Started by comichouse on May 11, 2020
Is there any way to retrieve the custom css that was written in the customiser? I deleted it by accident :(
Hi there,
You could try restoring a backup if you have one.
Let me know if this helps :)
Hi Leo,
Yes, I thought of that, but I've made quite some changes since the last full backup. So that would be a lot of work just to get the css back. What I'm curious about is; isn't there some file in backup that I can find the css in, copy it, and put it back?
Thanks,
Hans
WordPress stored the additional CSS as a post in the database, but it doesn't look like you can access the revisions: https://core.trac.wordpress.org/ticket/38707
I did some search around and didn't find any workarounds, unfortunately - I'm sorry!
Okay, that's too bad. But I appreciate your effort :)
No problem - sorry I couldn't be more helpful.