Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am trying to recover some code I had several months ago (I have backups of everything). It was part of a text widget in my WordPress sidebar.

If I have the full backup, where can I find that code? I can't seem to find that folder.

share|improve this question

2 Answers 2

Try looking in the {$prefix}_options table in the WordPress MySQL database

share|improve this answer
    
where is that located? –  Daniel Feb 13 '11 at 21:41
    
in ur wordpress mysql database –  mireille raad Feb 14 '11 at 8:45

The widget settings (as well as plenty of other stuff) are stored in MySQL database. Actual files are mostly PHP code that runs the show, WordPress uses next to none manipulating files.

So to recover those you will need to look in backup of your database as well as some code to make sense of values (widget settings are complex and probably stored in in database in serialized form).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.