Do you want to import/export your widget settings in WordPress?
Widgets allow you to easily add additional features to your WordPress sidebars, footers, and other widget-ready areas. If you like the widget settings on your website, then you can save and reuse them on another WordPress site.
In this article, we’ll show you how to easily import and export widget settings in WordPress. You can also use it as a quick way to backup widget settings for your website.
Why Import / Export Widget Settings in WordPress?
There are many scenarios when you may need to preserve and save the widget settings on your WordPress website.
For instance, let’s say you run a multi-site WordPress network for your business using the same or similar theme for all sites.
For quick development, you may want to use the same widget settings across all your websites. Exporting and then importing widget settings is the quickest way to use the same widgets for all your sites.
Similarly, let’s say you are moving a WordPress site and want to save widget settings, so they can be used easily later on.
Lastly, this method also comes in handy if you want to save your widget settings as a backup when changing WordPress themes or testing different widget layouts.
That being said, let’s take a look at how to easily import/export widget settings in WordPress.
How to Import and Export Widget Settings in WordPress
The first thing you need to do is install and activate the Widget Importer & Exporter plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.
Upon activation, you need to visit the Tools » Widget Importer & Exporter page and click on the ‘Export Widgets’ button.
The plugin will then prepare a backup file containing your widget settings, and they will be downloaded as a .wie file to your computer.
You can now switch back to the website where you want to import the widgets.
Again, you would need to first install and activate the Widget Importer & Exporter plugin. After that, head over to the Tools » Widget Importer & Exporter page to import your widgets.
From here, you can click on the ‘Choose File’ button to select and upload the .wie file you downloaded earlier.
Alternatively, you can click on the ‘copy and paste’ link to manually copy and paste the contents of your .wie backup file.
Once done, simply click on the ‘Import Widgets’ button to continue.
The plugin will then process your backup file data and import your WordPress widgets.
If you are using the same WordPress theme on both websites, then your widgets will automatically be imported into the correct widget areas.
However, if you are using a different theme on the import site, with no matching widget areas, then the widgets will be imported as inactive widgets.
You can then drag and drop these widgets from inactive widgets to an available widget area.
The plugin works with both block-based widgets, and the older classic widgets in WordPress.
We hope this article helped you learn how to easily import/export widget settings in WordPress. You may also want to see our list of essential WordPress plugins, and see our tips on improving WordPress security for all your websites.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Raman Kumar says
the given widget has been closed and not available now.
Please update your post
WPBeginner Support says
Thank you for letting us know about the plugin, we will look to update the post when we are able
Admin
Jacques Matike says
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
WPBeginner Support says
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/
Admin
paul says
It will only import 2 of 30 from one site to another … This tool is not effective for the claims it makes.
Sabo says
Not working for me
Claude Corry says
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?
Rebecca says
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?
lulu says
I get the same. did you find a solution to this?
Jason says
The plugin doesn’t work for me . It doesn’t seem to identify all my widgets in my present activated theme
Mahfooz says
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
Amir Arif says
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
Mohit says
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?
WPBeginner Support says
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.
Admin
Richard says
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
Hardeep Asrani says
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.
Liz says
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!