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

Google Photos Picker

描述

This is a plugin that enables you choose images in Google Photos and inserts them in img tags in text mode post editor. This plugin requires you create a project in Google Developers Console to have your own API credentials.

Here are steps to create your own API credentials.

  1. Create a project in Google Developers Console
  2. Enable Google Picker API
  3. Create a API key (Browser key)
  4. Create an OAuth 2.0 client ID
    • Add your blog hostname (e.g. http://foobar.com) in Authorized JavaScript origins
  5. Set the browser key and OAuth 2.0 client ID in the plugin settings menu.
    • You can find the plugin settings menu in Settings -> Media

屏幕截图

  • 'Google Photos Picker' button in post editor
  • Google Picker to choose photos
  • Added img tags

安装

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin
  4. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)

常见问题

A question that someone might have

An answer to that question.

评价

2017 年 10 月 9 日
Works perfectly in text mode. Next steps : - add a toolbar button in tinyMCE - option to build a gallery with selected photos. I can help on testing if needed. Thanks!
2016 年 9 月 3 日
Good luck getting it installed and working correctly. The installation instructions are not really helpful at all. There needs to be step by step instructions for what you need to do to enable the Google Picker API.
阅读所有3条评价

贡献者及开发者

“Google Photos Picker” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Google Photos Picker”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0

  • Initial version.