I was working on a site for a client who had a custom wordpress theme. I created the functions.php file to store a function I was reusing, and then the dynamic sidebar disappeared. the appearances > widgets page said "this theme doesn't have widgets enabled."
I tried registering a new sidebar, that got the widgets page back but all the content from the previous sidebar is still missing.
Is there a way to get that sidebar back? I was thinking its name might be in the database somewhere, and registering a new one with that name might bring it back.
Is the widget content stored in the database somewhere? I'd be happy with just manually repopulating a new sidebar by copy/pasting data from the database.
Also, is it common for the creation of a functions.php file to remove a dynamic sidebar?
Thanks