WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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