700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > 谷歌云端硬盘 转存_如何将Google云端硬盘连接到您的WordPress媒体库

谷歌云端硬盘 转存_如何将Google云端硬盘连接到您的WordPress媒体库

时间:2019-06-02 06:01:47

相关推荐

谷歌云端硬盘 转存_如何将Google云端硬盘连接到您的WordPress媒体库

谷歌云端硬盘 转存

Do you want to connect Google Drive to your WordPress media library? Google Drive offers free cloud storage and many people use it to store their photos and documents. In this article, we will show you how to connect Google Drive to your WordPress media library.

您想将Google云端硬盘连接到WordPress媒体库吗? Google云端硬盘提供免费的云存储,许多人使用它来存储他们的照片和文档。 在本文中,我们将向您展示如何将Google云端硬盘连接到WordPress媒体库。

为什么将Google Drive连接到WordPress媒体库 (Why Connect Google Drive to Your WordPress Media Library)

Google Drive offers lots of free and cheap cloud storage to save your files. Many folks use Google Drive to store their photos and share files with colleagues, friends, and family.

Google云端硬盘提供大量免费和廉价的云存储来保存文件。 许多人使用Google云端硬盘存储照片并与同事,朋友和家人共享文件。

It also connects to Google Photos app which automatically backup all the photos on your mobile devices to your Google account.

它还连接到Google相册应用,该应用会自动将您移动设备上的所有照片备份到您的Google帐户。

If you run a photography blog, then connecting your Google Drive to WordPress media library will allow you to import photos stored on your drive and your phone.

如果您运行摄影博客 ,然后将Google云端硬盘连接到WordPress媒体库,则可以导入存储在硬盘和手机中的照片。

Let’s take a look at how to easily connect Google Drive to your WordPress media library.

让我们看一下如何轻松将Google云端硬盘连接到WordPress媒体库。

将Google云端硬盘连接到WordPress媒体库 (Connect Google Drive to WordPress Media Library)

First thing you need to do is install and activate the External Media plugin. For more details, see our step by step guide on how to install a WordPress plugin.

您需要做的第一件事是安装并激活外部媒体插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Upon activation, you need to visitSettings » External Mediapage to configure plugin settings.

激活后,您需要访问设置»外部媒体页面来配置插件设置。

External Media plugin allows you to connect to several external storage services. We will show you how to connect to Google Drive, but you can explore other services as well if you want.

外部媒体插件可让您连接到多个外部存储服务。 我们将向您展示如何连接到Google云端硬盘,但如果需要,您也可以探索其他服务。

Click on the Google Drive tab and then check the box next to ‘Eanble this plugin’ option.

点击Google云端硬盘标签,然后选中“启用此插件”选项旁边的框。

You will be asked to enter a client and application IDs which we will can get by creating a project on Google Developers website.

系统会要求您输入客户端和应用程序ID,我们可以通过在Google Developers网站上创建一个项目来获得这些ID。

Head over to Google Developers Console website and create a new project.

前往Google Developers Console网站并创建一个新项目。

Developer console will enable the Google Picker API after creating the project. You will be asked to create credentials.

开发人员控制台在建立专案后,会启用Google Picker API。 系统将要求您创建凭据。

Click on the ‘Go to credentials’ button to continue.

点击“转到凭据”按钮继续。

On the next screen, you will be able to generate different credentials. We want Client ID, so you will need to click on Client ID link.

在下一个屏幕上,您将能够生成不同的凭据。 我们需要客户端ID,因此您需要单击“客户端ID”链接。

You will now see a screen informing you that you need to configure the consent screen before you can generate client ID. Click on configure consent screen button to continue.

现在,您将看到一个屏幕,通知您需要先配置同意屏幕,然后才能生成客户端ID。 单击配置同意屏幕按钮以继续。

On the next screen, you need to provide a name for your app and click on the save button.

在下一个屏幕上,您需要为您的应用提供一个名称,然后单击“保存”按钮。

This will bring you to the next step.

这将带您进入下一步。

First you need to select ‘Web Application’ as your application type. After that provide a name for the client this could be anything you want.

首先,您需要选择“ Web应用程序”作为您的应用程序类型。 之后,为客户提供名称,这可能是您想要的任何内容。

You will also need to enter the URL of your WordPress site and the oAuth Callback URL. You can get the call back URL from plugin’s settings page at the bottom. It will look like this:

您还需要输入WordPress网站的URL和oAuth回调URL。 您可以从底部的插件设置页面获取回调URL。 它看起来像这样:

/index.php?external_media_plugin=GooglePickerAPI

/index.php?external_media_plugin=GooglePickerAPI

After entering this information, click on the create button to continue.

输入此信息后,单击创建按钮以继续。

This will bring up a popup with your client ID, you need to copy and paste it in plugin’s settings page on your WordPress site.

这将弹出一个带有您的客户端ID的弹出窗口,您需要将其复制并粘贴到WordPress网站上插件的设置页面中。

The second key required by the plugin is the application ID. Your Application ID is the first set of numbers in the client ID. Copy the numbers before the dash and paste them in the application ID field.

插件所需的第二个键是应用程序ID。 您的应用程序ID是客户端ID中的第一组数字。 复制破折号前的数字,并将其粘贴到应用程序ID字段中。

You should now review the other plugin settings to meet your needs. Make sure that you uncheck the ‘Filter’ check box otherwise you will only see files starred in your Google Drive.

现在,您应该查看其他插件设置,以满足您的需求。 请确保您取消选中“过滤器”复选框,否则您只会看到Google云端硬盘中已加星标的文件。

Don’t forget to click on the save changes button to store your settings.

不要忘记单击“保存更改”按钮来存储您的设置。

You have successfully connected your WordPress site to Google Drive.

您已成功将WordPress网站连接到Google云端硬盘。

You can now head over to create a new post or edit an existing one. On the post editor screen click on the ‘Add Media’ button to launch the media uploader.

现在,您可以创建一个新帖子或编辑一个现有的帖子。 在帖子编辑器屏幕上,单击“添加媒体”按钮以启动媒体上传器。

You will see an ‘Import from Google Drive’ button on the upload tab.

您会在上传标签上看到“从Google云端硬盘导入”按钮。

Clicking on it will launch the Google Picker popup allowing you to browse your Google Drive files and folders.

单击它会启动Google Picker弹出窗口,使您可以浏览Google云端硬盘文件和文件夹。

You just need to click on the files you want to import to select them and then click on ‘Select’ button.

您只需要单击要导入的文件以选择它们,然后单击“选择”按钮。

External Media plugin will now import those files and store them into your WordPress media library.

外部媒体插件现在将导入这些文件并将其存储到您的WordPress媒体库中。

You can now add the files to your WordPress posts and pages.

现在,您可以将文件添加到WordPress 帖子和页面中 。

If you run a multi-user WordPress site, then other users will be able to import files from their own Google Drive as well.

如果您运行多用户WordPress网站,那么其他用户也可以从自己的Google云端硬盘导入文件。

The files are imported into your WordPress media library, so deactivating the plugin in the future will not affect the files already imported.

这些文件将导入到您的WordPress媒体库中,因此将来停用该插件不会影响已经导入的文件。

We hope this article helped you connect Google Drive to your WordPress media library. You may also want to see our list of 19+ free Google tools every WordPress blogger should use.

我们希望本文能帮助您将Google云端硬盘连接到WordPress媒体库。 您可能还希望查看我们的列表, 每个WordPress博客作者都应使用19种免费Google工具 。

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视频教程。 您也可以在Twitter和Facebook上找到我们。

翻译自: /plugins/how-to-connect-google-drive-to-your-wordpress-media-library/

谷歌云端硬盘 转存

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。