Sometimes when moving WordPress sites, you may need to save and reuse widget settings from one WordPress installation to another. If a site has just a few widgets, then you can probably do that manually. However, if there are many widgets in multiple sidebars and widget areas, then you need a better solution. In this article, we will show you how to import/export widget settings in WordPress.
Video Tutorial
If you don’t like the video or need more instructions, then continue reading.
First thing you need to do is install and activate the Widget Settings Import/Export plugin. Upon activation, go to Tools » Widget Settings Export and select the widgets you want to export and click on Export Widget Settings Button. The plugin will now export all your currently active widgets in widget_data.json
file.
To restore these widgets in another WordPress installation, you will need to install and activate the Widget Settings Import/Export plugin on that site as well. Once you have activated the plugin, go to Tools » Widget Settings Import and click on the Select File button.
Locate the JSON file you downloaded earlier and then click on the Show Widgets Settings button. The plugin will now load widget data from the imported file and will show you the list of widgets. Select the widgets you want to import and click on Import Widget Settings to proceed. All your widgets will be restored to appropriate sidebars.
Please note that if you have active widgets added to your site by a plugin, then you may not be able to import those widgets until you have those plugins installed on the target website as well.
We hope this article helped you quickly export/import widgets settings in WordPress. Share your experiences of moving moving widgets between WordPress sites by leaving a comment below.
Hello,
Using plugin version 1.3.5.2 and the import functionnality doesn’t work!
It says that for security reasons, the file type is not authorize
If your site is blocking the file type, you would want to follow the steps in: https://www.wpbeginner.com/wp-tutorials/how-to-add-additional-file-types-to-be-uploaded-in-wordpress/
It will only import 2 of 30 from one site to another … This tool is not effective for the claims it makes.
Not working for me
Hi all I have done this procedure but its on the same website. My widgets seemed to deactivate after I changed to another WP theme 2017 the newest one but in the customise interface for the new theme the widgets are still greyed out like they are inactive still. This is after I have used the Import/Export plugin. Can you use the plugin this way on the same site?
When I try to import, I get a notice saying
Sorry, this file type is not permitted for security reasons.
How do I get around this?
I get the same. did you find a solution to this?
The plugin doesn’t work for me . It doesn’t seem to identify all my widgets in my present activated theme
i took backup of my site yesterday every thing is ok but widget content is disappeared so my question is how can i get content with out copy and paste procedure in WordPress
Export Woocommer Product only with image?
need very urgent help here, i want to know that how to export only woocomerce product only with their images?
please reply, Thanks
Is there some plugin using which I can also replicate the plugins, i.e. at the click of a button, export all plugins and if possible their settings as well, and then import the same on another wordpress site?
We doubt that, because there are thousands of WordPress plugins and many of them use different techniques to store their settings. It would be difficult to program a plugin that could guess the settings for all plugins.
Great article, I’ve been wanting something similar but for plug-ins. Any suggestions?
I have about 20 plug-ins and all of their associated settings, like amember, and I really don’t want to start from scratch
Nope, you can’t!
Each plugin have your own type of configurations and only with a export and import of a mysql database can pass your settings from one site to another.
WordPress saves all widget settings only in one table, so it’s more easy to download widget settings.
Oh no! I wish this post had dropped in my email alerts yesterday! I just migrated a site live from the test url and lost ALL my widget setting and all my plugins- genesis ones with content were lost completely. Thankfully, it was a smallish site, and I’ve managed in a morning to re-do all the settings and craft any custom widget content again. But I’ve bookmarked this to make sure it doesn’t happen again as I’ve more complex sites to do soon.
Thanks for this! I live and learn!