1

I did search and saw a similar Where (what directory) are the default Wordpress Widget Codes stored? but this is not my question.

When I have a lot of widgets configured, say a few dozen RSS feeds each in its own widget, where exactly is this data stored? I'd like to be able to copy this data to import into another theme using the same plugin/widget without needing to retype all the urls fed into the rss widgets.

Update - it seems this request is looking to solve an issue at the wrong level. Elsewhere, I was advised to just use a plugin, Widget Importer & Exporter and it preserved the widget settings very well. No need to mess with the source or SQL.

  • IMO Widgets are difficult to transfer. WordPress keeps this data in a serialized array in the options table. You can search this using LIKE %..% for "widget" – Howdy_McGee Sep 22 '15 at 14:39
  • It sounds like I might find them in the database, and even export, but the import will not happen, a bunch of copy/paste entering into the new theme widgets. Thx for the response. – JTP - Apologise to Monica Sep 22 '15 at 14:43
5

The widgets data is stored in wp_options table as serialized array, with option_name started by widget_:

Widgets Data

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.