這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Google Docs oEmbed

外掛說明

Registers an oEmbed handler for Google Docs and adds it to the whitelist, allowing all users who can write posts/pages to embed documents, spreadsheets and presentations.

Usage

To embed a Google Doc into a post or page:
1. Open the document on Google Drive
2. Select the Publish to the Web under the File menu
3. Then copy the link and paste it into the content area. Make sure the URL is on its own line and not hyperlinked (clickable when viewing the post)

For example:
https://docs.google.com/document/d/abcdefghij/pub

Another option is to wrap the URL in the [embed] shortcode:
[embed width=”860″ height=”640″]https://docs.google.com/document/d/abcdefghij/pub[/embed]

安裝方式

Dashboard

  1. Go to the ‘Plugins’ menu, and choose ‘Add New’.
  2. Search for ‘google-docs-oembed’, and then click ‘Install Now’.
  3. Click ‘Activate’.

FTP

  1. Download and extract the .zip file.
  2. Upload the unzipped folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu.

Composer

composer require logoscon/google-docs-oembed

常見問題集

Where can I report bugs?

Bugs can be reported on the GitHub repository.

How can I contribute?

Join in on our GitHub repository and read our contribution guidelines.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Google Docs oEmbed〉的開發相關工作。

參與者

〈Google Docs oEmbed〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Google Docs oEmbed〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.10

  • Added Code Climate integration.
  • Added moar badges (yes I am a badge poser).
  • Added contribution guidelines.
  • Updated README.

1.0.9

  • Updated Codacy badge url.
  • Fixed NPath complexity of 300.

1.0.8

  • Added Codacy (a tool for automated code review) badge.
  • Removed the loader class.

1.0.7

  • Minor changes.
  • Added language file.

1.0.6

  • Fix PSR-4 loader conflict with older implementation.

1.0.5

  • Added GitHub Updater support.
  • Added Update supported WordPress version.

1.0.4

  • Added composer.lock to repo.
  • Added vendor folder to SVN repo.

1.0.3

  • Minor changes.

1.0.2

  • Check if autoloader exists before requiring.

1.0.1

  • Removed an esc_attr() incorrectly called on $extra.
  • Added a build task with composer support.

1.0.0

  • Initial release.