如何导入和导出 WordPress 小部件设置

是否要导入和导出 WordPress 小部件设置? 如果您运行多个 WordPress 网站,则可以从其他网站借用设置。 为此,您需要在 WordPress 中导入和导出它。

WordPress 拥有世界上最令人印象深刻的进出口功能之一。 您可以导入 导出整个网站 或他们的小部分。 最好的部分是,你可以 将内容从一个 WordPress 网站导入和导出到另一个 WordPress 网站 在某一时刻。

今天,我将向您展示如何使用小部件导入器和导出器插件导入和导出 WordPress 小部件设置。

为什么要导入/导出小部件设置?

小部件对于任何网站都非常重要,因为它们负责填充 WordPress 页眉、页脚和边栏区域。 的可能性 可以添加的内容 几乎是无限的,当你找到你喜欢的东西时,尝试一下是正常的。

埃斯[ecially when it takes you a long time to find. For this reason, importing and exporting in WordPress is the best way to transfer your widget settings to multiple websites.

Why Would I Need Multiple Websites?

Obviously, if you are importing and exporting widget settings, you must have at least two websites. Of course, this raises the question, why?

It is actually quite common for developers to use a test site. This allows them to make significant changes without interrupting your visitor/customer’s experience. Thus, once you finish testing, you can export those changes and import them to your main website.

Of course, it is also just common to have multiple websites. This allows you to cover a greater range of topics and do so in a different manner. And of course, with two websites, you have twice the chance of earning money.

And let us not forget that there is a very strong business for growing websites up and then selling them. Thus, there are plenty of developers who are in control of multiple websites at once.

Installing Widget Importer & Exporter

The Widget Importer & Exporter is a terrific plugin for transferring your widget setting between websites. And with over 300,000 active installs, you know it works. The plugin exports files using JSON format with the .wie extension.

Due to this, you will need to use this plugin to import the files as well. This file format will not work with other plugins or the built-in importing options WordPress offers.

Thus, you will need to install this plugin twice: once on the website you are exporting from, and once on the website you are importing to.

To start, begin by clicking on Plugins and selecting the Add New option on the left-hand admin panel.

Search for Widget Importer & Exporter in the available search box. This will pull up additional plugins that you may find helpful.

Widget Importer & Exporter

Scroll down until you find the Widget Importer & Exporter plugin and click on the “Install Now” button. Then, activate the plugin for use.

Install Now

Remember, you must install this plugin on both websites you want to transfer widget settings between.

Exporting Widget Settings

On the left-hand admin panel, click on Tools and select the Widget Importer & Exporter option.

Tools

This plugin is extremely simple to use. You will see two sections: Import Widgets, and Export Widgets. Both processes are extremely easy to understand for any skill level.

Let’s start with exporting. There are two things you need to keep in mind before you begin.

  1. The plugin only exports active widgets.
  2. All text and settings stored in the widget will be saved.

To export your widgets, click on the “Export Widgets” button.

Export Widgets

Upon doing so, a file containing all of your active widgets will be added to your downloads.

Downloads

You will need this file to import.

Importing Widget Settings

Now that you have exported your widget settings, it is time to import them to the other website or websites. Remember, you need the Widget Importer & Exporter plugin installed on the website you are importing to.

Importing is equally as simple as exporting. However, there are two things you need to keep in mind when doing so.

  1. Upon importing, all widgets in the file will become active.
  2. If you exported a widget that required a plugin, you will need that plugin on the website of which you are importing.

On the left-hand admin panel, click on Tools and select the Widget Importer & Exporter option.

Tools

Click on the “Choose File” button.

Choose File

By default, the file should be named:[ht_message mstyle=”info” title=”” show_icon=”” id=”” class=”” style=”” ]www.yourwebsite.com 小部件.wie[/ht_message]

它应该在你的下载文件夹中。 选择此文件,然后单击“导入小部件”按钮。

导入小部件

导入的小部件将在网站上激活。

恭喜您,您已成功导入和导出了 WordPress 小部件设置。 您还可以使用导出选项备份 WordPress 小部件设置。 如果您需要使用备份,只需将其导入您的网站即可。

正确管理网站

一个网站更难管理,多个网站更难管理。 为了帮助它, 多站点网络多站点网络可让您从一个位置轻松管理所有网站。 这样,您就可以节省在它们之间切换的宝贵时间。

找到要使用的插件有多容易? 您管理多少个网站?

给TA打赏
共{{data.count}}人
人已打赏
WordPress 教程

如何设置WordPress进行餐厅预订

2022-10-6 5:19:00

WordPress 教程

如何在 WordPress 中添加注释自定义字段

2022-10-6 7:20:44

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
搜索