
wordpress批量导入
Sometimes when 移动WordPress sites, you may need to save and reuse 小部件 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 多个侧边栏 and widget areas, then you need a better solution. In this article, we will show you how to import/export widget settings in WordPress.
有时在移动WordPress网站时,您可能需要保存和重用小部件设置从一个WordPress安装到另一个。 如果一个站点只有几个小部件,那么您可以手动进行操作。 但是,如果在多个侧边栏和窗口小部件区域中有许多窗口小部件,则需要更好的解决方案。 在本文中,我们将向您展示如何在WordPress中导入/导出窗口小部件设置。
影片教学 (Video Tutorial)
如果您不喜欢该视频或需要更多说明,请继续阅读。
如果您不喜欢该视频或需要更多说明,请继续阅读。
First thing you need to do is install and activate the 小部件设置导入/导出 plugin. Upon activation, go to 工具 » 小部件设置导出 and select the widgets you want to export and click on 导出小部件设置 Button. The plugin will now export all your currently active widgets in widget_data.json
file.
您需要做的第一件事是安装并激活“ 小部件设置导入/导出”插件。 激活后,转到工具 » 小部件设置导出,然后选择要导出的小部件,然后单击导出小部件设置按钮。 插件现在将在widget_data.json
文件中导出您当前所有活动的窗口小部件。

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 工具 » 小部件设置导入 and click on the 选择文件 button.
要在另一个WordPress安装中还原这些小部件,您还需要在该站点上安装并激活“小部件设置导入/导出”插件。 激活插件后,转到工具 » 小部件设置导入 ,然后单击选择一个文档按钮。

Locate the JSON file you downloaded earlier and then click on the 显示小部件设置 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 导入小部件设置 to proceed. All your widgets will be restored to appropriate sidebars.
找到您先前下载的JSON文件,然后单击“ 显示小部件设置”按钮。 现在,该插件将从加载的文件中加载小部件数据,并向您显示小部件列表。 选择要导入的小部件,然后单击“ 导入小部件设置”以继续。 您所有的小部件都将还原到适当的侧边栏。
请注意,如果您通过插件将活动小部件添加到您的网站,那么您可能无法导入这些小部件,直到您在目标网站上安装了这些插件。
请注意,如果您通过插件将活动小部件添加到站点,则可能无法导入它们,除非您在目标站点上也安装了这些插件。
我们希望本文能帮助您在 WordPress 中快速导出/导入小部件设置。通过在下面发表评论来分享您在 WordPress 站点之间移动小部件的经验。
我们希望本文能帮助您在 WordPress 中快速导出/导入小部件设置。请在下面发表评论,分享您在 WordPress 站点之间移动小部件的经验。
翻译自: https://www.wpbeginner.com/plugins/how-to-importexport-widget-settings-in-wordpress/
wordpress批量导入