该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Widget Importer & Exporter

描述

Widget Importer & Exporter is useful for moving widgets from one WordPress site to another, backing up widgets and for theme developers to give users sample widgets. See the details on ChurchThemes.com.

Importing

Importing is done by 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 widget area and widget.

Importation takes into consideration widget areas not existing in the current theme (widgets imported as Inactive), widgets that already exist in the same widget area (widgets not duplicated) and widgets that are not supported by the site (widgets not imported).

Exporting

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.

Developers

The 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. Make a pull request on GitHub if you need another hook.

Please jump on GitHub to report issues and follow development.

屏幕截图

  • Main import/export screen
  • Results from an import

安装

Please see Installing Plugins in the WordPress Codex.

After activation, go to Tools > Widget Importer & Exporter

常见问题

How do I fix: “You must upload a .wie file generated by this plugin”

Please see this support thread.

Why does the JSON export file use a .wie extension?

The export file contains JSON data that is not compatible with any other plugin. Therefore it has a proprietary file extension. This keeps people from confusing export files from other widget import/export plugins.

评价

2023年1月17日
There was a problem importing the .wie file. Used the alternative, copy/paste and that worked.
2023年1月1日 1 回复
Doesn't recognize export file created by the same freshly installed plugin when trying to import.
阅读所有113条评价

贡献者及开发者

“Widget Importer & Exporter” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Widget Importer & Exporter”插件已被翻译至22种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Widget Importer & Exporter”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

See releases on GitHub.