Widget Importer & Exporter is useful for moving widgets from one WordPress site to another, backing up widgets and for theme developers to provide users with sample widgets.
Importing is a matter of uploading an export file created by the plugin. The results of an import are shown in a nicely formatted table with an explanation of what happened with each sidebar and widget.
Importation takes into consideration sidebars not existing in the current theme (widgets imported as Inactive), widgets that already exist in the same sidebar (widgets not duplicated) and widgets that are not supported by the site (widgets not imported).
Widget Importer & Exporter can create an export file (in JSON format with .wie extension) out of currently active widgets. This file can be imported into other sites using this plugin or used to restore widgets to the same site later.
The following translations are available.
- English (default)
- Spanish (es_ES) by Eduardo Larequi
- French (fr_FR) by French Translation Team
- German (de_DE) by Alexander Kesting
- Dutch (nl_NL) by Paul Backus
- Serbian (sr_RS) by Borisa Djuraskovic of Web Hosting Hub
- More at translate.wordpress.org
wie_before_import action fires after a file is uploaded but before the data is imported.
wie_after_import fires after the data is imported. The
wie_import_data filter can be used to filter data before it is imported. Other filters are used throughout. Submit an issue on GitHub if you need more hooks (pull requests encouraged).
Please see Installing Plugins in the WordPress Codex.
After activation, go to Tools > Widget Import/Export