If you want to move your widgets to another WordPress site, or you just want to back them up, then an export/import feature will definitely come in handy!
This can be done using a simple WordPress plugin.
Here’s what you need to do!
Install and activate the Widget Importer & Exporter plugin.
Go to Tools > Widget Importer & Exporter.
Click on the Export Widgets button and save the
.wie file on your computer.
- While the file contains JSON data, it has its own proprietary
.wieextension, which can only be used with this specific plugin.
- The plugin only exports the active WordPress widgets.
When you want to import the widgets into a WordPress site, you’ll need to have this plugin installed.
Then, go to its settings, click the Choose File button, upload the file you saved, and click on Import Widgets.
Your WordPress widgets will now be imported.
Make sure you don’t have the same widgets active when performing the import because the plugin won’t override them.
For example, let’s say that among the exported widgets, you have the default Recent Comments widget.
If that widget is active on the site where you want to import your saved widgets, the plugin won’t replace it. It will say that it already exists.
So, I recommend going to Appearance > Widgets and remove all (or the same) widgets that are active, before importing the saved ones.
That’s a Wrap
I hope you found this tutorial useful, and you managed to successfully export and import your WordPress widgets!
If you have any questions or thoughts, drop a comment or send a message via contact or Facebook page.
Don’t forget to share the post to help out others!