淘先锋技术网

首页 1 2 3 4 5 6 7

wordpress安装插件

After installing WordPress, the first thing every beginner needs to learn is how to install a WordPress plugin.

安装WordPress之后 ,每个初学者需要学习的第一件事是如何安装WordPress插件。

In simple words, WordPress plugins are like apps for your WordPress website. They allow you to add new features to WordPress like a contact form, slideshow, shopping cart, and more.

简而言之,WordPress插件就像您的WordPress网站的应用程序。 它们使您可以向WordPress添加新功能,例如联系表单 ,幻灯片,购物车等。

There are thousands of free and paid plugins available for WordPress. In this step by step guide, we will show you how to install a WordPress plugin.

有成千上万的免费和付费WordPress插件可用。 在本逐步指南中,我们将向您展示如何安装WordPress插件。

Installing a WordPress plugin - A beginner's guide

在你开始前 (Before You Start)

If you are using WordPress.com, then you cannot install plugins.

如果您使用的是WordPress.com ,则无法安装插件。

We often get complaints from users saying that they can’t see the plugins menu in their WordPress dashboard. It is because you are using WordPress.com, which has its limitations.

我们经常收到用户抱怨说他们在WordPress仪表板中看不到插件菜单。 这是因为您使用的是WordPress.com,但有其局限性

You cannot install plugins on WordPress.com unless you upgrade to their business plan. On the other hand, you can install any plugin you want on your self hosted WordPress.org website right out of the box (See the differences between self hosted WordPress.org vs WordPress.com).

您不能在WordPress.com上安装插件,除非升级到他们的商业计划。 另一方面,您可以直接在自己的WordPress.org网站上安装所需的任何插件(请参阅WordPress.org与WordPress.com之间的区别)。

If you want to switch from WordPress.com to WordPress.org, then read our tutorial on how to properly move from WordPress.com to WordPress.org.

如果要从WordPress.com切换到WordPress.org,请阅读有关如何正确地从WordPress.com迁移到WordPress.org的教程。

That being said, now let’s take a look at how to install a WordPress plugin on your website.

话虽如此,现在让我们看一下如何在您的网站上安装WordPress插件。

如何安装WordPress插件 (How to Install a WordPress Plugin)

To make it easy, we have created a video tutorial on how to install a WordPress plugin that you can watch below.

为简单起见,我们创建了一个视频教程,介绍如何安装WordPress插件,您可以在下面观看。

演示地址

However, if you just want to follow text-instructions, then you can follow our step by step tutorial on how to install a WordPress plugin.

但是,如果您只想按照文本说明进行操作,则可以按照有关如何安装WordPress插件的分步教程进行操作。

We have covered all three methods: installing a WordPress plugin using search, uploading a WordPress plugin, and manually installing a WordPress plugin using FTP.

我们介绍了所有三种方法:使用搜索安装WordPress插件,上传WordPress插件以及使用FTP手动安装WordPress插件。

Ready? Let’s get started.

准备? 让我们开始吧。

使用WordPress插件搜索安装插件 (Install a Plugin using WordPress Plugin Search)

The easiest way of installing a WordPress plugin is to use the plugin search. The only downside of this option is that a plugin must be in the WordPress plugin directory which is limited to only free plugins.

安装WordPress插件的最简单方法是使用插件搜索。 此选项的唯一缺点是,插件必须位于WordPress插件目录中 ,该目录仅限于免费插件。

First thing you need to visit the Plugins » Add New page inside your WordPress admin area.

首先,您需要访问WordPress管理区域内的Plugins»Add New页面。

Searching for plugins to install in WordPress admin area

You will see a screen like the one in the screenshot above. Find the plugin by typing the plugin name or the functionality you are looking for. After that, you will see a bunch of listings like the example below:

您将看到一个类似于上述屏幕截图的屏幕。 通过键入插件名称或所需的功能来查找插件。 之后,您将看到一堆清单,如下例所示:

Plugin search results

You can pick the plugin that is best for you. Since in our search, we were looking for WPForms which is the best WordPress contact form plugin, we’ll click the ‘Install Now’ button next to it.

您可以选择最适合您的插件。 由于在搜索中,我们一直在寻找WPForms ,它是最好的WordPress联系人表单插件 ,我们将单击其旁边的“立即安装”按钮。

WordPress will now download and install the plugin for you. After this, you’ll notice the ‘Install Now’ button will change into the ‘Activate’ button.

WordPress现在将为您下载并安装插件。 之后,您会注意到“立即安装”按钮将变为“激活”按钮。

Activating a WordPress plugin

A WordPress plugin can be installed on your site, but it will not work unless you activate it. So go ahead and click on the activate button to start using that plugin on your WordPress site.

可以在您的站点上安装WordPress插件,但是除非您激活它,否则它将无法工作。 因此,继续并单击“激活”按钮以开始在WordPress网站上使用该插件。

That’s all, you have successfully installed your first WordPress plugin.

就是这样,您已经成功安装了第一个WordPress插件。

The next step is to configure the plugin settings. These settings will vary for each plugin therefore we will not be covering that in this post.

下一步是配置插件设置。 这些设置会因每个插件而异,因此我们将不在本文中介绍。

使用WordPress Admin插件上传安装插件 (Install a Plugin using the WordPress Admin Plugin Upload)

Paid WordPress plugins are not listed in the WordPress plugin directory. These plugins cannot be installed using the first method.

付费WordPress插件未在WordPress插件目录中列出。 无法使用第一种方法安装这些插件。

That’s why WordPress comes with the upload method to install such plugins. We will show you how to install WordPress plugins using the upload option in the admin area.

这就是WordPress附带上传方法来安装此类插件的原因。 我们将向您展示如何使用管理区域中的上载选项安装WordPress插件。

First, you need to download the plugin from the source (which will be a zip file). Next, you need to go to WordPress admin area and visit Plugins » Add New page.

首先,您需要从源代码下载插件(它将是一个zip文件)。 接下来,您需要转到WordPress管理区域并访问插件»添加新页面。

After that, click on the ‘Upload Plugin’ button on top of the page.

之后,点击页面顶部的“上传插件”按钮。

Upload plugin button

This will reveal the plugin upload form. Here you need to click on the ‘Choose File’ button and select the plugin file you downloaded earlier to your computer.

这将显示插件上传表单。 在这里,您需要单击“选择文件”按钮,然后选择您先前下载到计算机上的插件文件。

Select plugin zip file to upload and install in WordPress

After you have selected the file, you need to click on the ‘Install Now’ button.

选择文件后,需要单击“立即安装”按钮。

WordPress will now upload the plugin file from your computer and install it for you. You will see a success message like this after the installation is finished.

WordPress现在将从您的计算机上载插件文件并为您安装。 安装完成后,您将看到类似这样的成功消息。

Activate plugin

Once installed, you need to click on the Activate Plugin link to start using the plugin.

安装后,您需要单击“激活插件”链接以开始使用插件。

You would have to configure the settings to fit your needs. These settings will vary for each plugin therefore we will not be covering that in this post.

您将必须配置设置以满足您的需求。 这些设置会因每个插件而异,因此我们将不在本文中介绍。

使用FTP手动安装WordPress插件 (Manually Install a WordPress Plugin using FTP)

In some rare cases, your WordPress hosting provider may have file restrictions that could limit your ability to install a plugin from the admin area.

在极少数情况下,您的WordPress托管提供商可能会有文件限制,这可能会限制您从管理区域安装插件的能力。

In this situation, your best bet is to install the plugin manually using FTP.

在这种情况下,最好的选择是使用FTP手动安装插件。

The FTP manager method is the least friendly for beginners.

FTP管理器方法对初学者最不友好。

First you will need to download the plugin’s source file (it will be a zip file). Next, you need to extract the zip file on your computer.

首先,您需要下载插件的源文件(它将是一个zip文件)。 接下来,您需要将zip文件解压缩到计算机上。

Extracting the plugin zip file will create a new folder with the same name. This is the folder that you need to manually upload to your website using a FTP client.

解压缩插件zip文件将创建一个具有相同名称的新文件夹。 这是您需要使用FTP客户端手动上传到网站的文件夹。

You would need to access your host through the FTP manager. If you do not have your FTP username and password, then contact your WordPress hosting provider and ask them.

您将需要通过FTP管理器访问主机。 如果您没有FTP用户名和密码,请与WordPress托管提供商联系并询问他们。

Open the FTP client on your computer and connect to your website using the login credentials provided by your web host. Once connected, you need to go to the /wp-content/plugins/ folder on your website.

打开计算机上的FTP客户端,并使用网络主机提供的登录凭据连接到您的网站。 连接后,您需要转到网站上的/wp-content/plugins/文件夹。

Next, upload the folder you extracted from the zip file to the /wp-content/plugins/ folder on your web server.

接下来,将您从zip文件中提取的文件夹上载到Web服务器上的/wp-content/plugins/文件夹中。

Uploading a plugin via FTP

After uploading the files, you need to visit the WordPress admin area and click on the Plugins link in the admin menu. You’ll see your plugin successfully installed on the plugins page.

上载文件后,您需要访问WordPress管理区域并单击管理菜单中的插件链接。 您会在插件页面上看到插件已成功安装。

Activate installed plugin

You need to click on the Activate link below the plugin to start using it.

您需要单击插件下方的“激活”链接才能开始使用它。

Upon activating, you may need to configure the plugin settings. WordPress plugins come with their own settings which differ from one plugin to another so we will not describe them here.

激活后,您可能需要配置插件设置。 WordPress插件具有其自身的设置,这些设置因一个插件而异,因此在此不再赘述。

关于安装WordPress插件的常见问题解答 (FAQs About Installing WordPress Plugins)

As a beginners you may have few questions about installing WordPress plugins. As the largest WordPress resource site, we have heard all of them.

作为初学者,您可能对安装WordPress插件有一些疑问。 作为最大的WordPress资源网站,我们都听说过。

Here are some of the most frequently asked questions about installing WordPress plugins.

以下是有关安装WordPress插件的一些最常见问题。

1. How do I find the best WordPress plugins to install on my website?

1.如何找到最好的WordPress插件安装在我的网站上?

There are more than 55,000 WordPress plugins on the free WordPress plugin directory alone. Many more are available as premium plugins. This makes it a bit difficult for beginners to find the best plugin for the feature they need.

仅免费WordPress插件目录上就有超过55,000个WordPress插件。 还有许多高级插件可用。 这使初学者很难找到适合他们所需功能的最佳插件。

We have compiled a list of all the essential WordPress plugins that most WordPress websites need.

我们已编制了大多数WordPress网站所需的所有基本WordPress插件的列表。

We also have a detailed tutorial on choosing the best WordPress plugin where we show you what to look for when looking for a plugin.

我们还提供了有关选择最佳WordPress插件的详细教程,其中向您展示了寻找插件时要寻找的内容。

2. What is the difference between installed and active plugins?

2.安装的插件和活动的插件有什么区别?

WordPress allows you to install a plugin and not use it at all. In order to use a plugin on your site, you need to ‘Activate’ it.

WordPress允许您安装插件,而根本不使用它。 为了在您的网站上使用插件,您需要“激活”它。

You can see active plugins by visiting the ‘Plugins’ page in the WordPress admin area. They will be highlighted with a blue background.

您可以通过访问WordPress管理区域中的“插件”页面来查看活动的插件。 它们将以蓝色背景突出显示。

Installed and active plugins

Plugins with the white background are installed on your website but not active.

具有白色背景的插件已安装在您的网站上,但未激活。

3. Should I delete inactive plugins?

3.我应该删除无效的插件吗?

If you are not using a plugin, then it is recommended to delete it from your website. For more on this topic, see our article on why should you delete inactive plugins in WordPress.

如果您不使用插件,则建议将其从您的网站中删除。 有关此主题的更多信息,请参阅我们的文章, 为什么要删除WordPress中的非活动插件

4. How many plugins I can install in WordPress?

4.我可以在WordPress中安装多少个插件?

You can install as many WordPress plugins as you need. It is not the number of plugins that affect your website speed, but the quality of those plugins. For more information, see our article on how many WordPress plugins you should install.

您可以根据需要安装任意数量的WordPress插件。 不是影响您网站速度的插件数量,而是这些插件的质量。 有关更多信息,请参阅有关您应安装多少WordPress插件的文章。

5. How do I uninstall a WordPress plugin

5.如何卸载WordPress插件

You can uninstall a WordPress plugin by visiting the Plugins page in the WordPress admin area. If the plugin you want to remove is currently active, then first you’ll need to deactivate it. After that, you can simply click on the delete link to remove it from your website.

您可以通过访问WordPress管理区域中的“插件”页面来卸载WordPress插件。 如果您要删除的插件当前处于活动状态,则首先需要停用它。 之后,您只需单击删除链接即可将其从您的网站中删除。

Uninstall a WordPress plugin

For more detailed instructions, see our guide on how to properly uninstall a WordPress plugin.

有关更多详细说明,请参阅有关如何正确卸载WordPress插件的指南

We hope this helped you learn how to install WordPress plugins.

我们希望这可以帮助您学习如何安装WordPress插件。

You may also want to see our plugins category where we write about the best WordPress plugins that you can use to accomplish whatever you’re looking to do. Each of those articles comes with step-by-step instructions on how to set up individual plugins.

您可能还想查看我们的插件类别,在其中我们可以找到最好的WordPress插件 ,这些插件可用于完成您想做的所有事情。 这些文章的每一篇都附带了有关如何设置单个插件的分步说明。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/

wordpress安装插件