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
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
- 01Go to the ‘Plugins’ menu, and choose ‘Add New’.
- 02Search for ‘google-docs-oembed’, and then click ‘Install Now’.
- 03Click ‘Activate’.
FTP
- 04Download and extract the .zip file.
- 05Upload the unzipped folder to the /wp-content/plugins/ directory.
- 06Activate the plugin through the ‘Plugins’ menu.
Composer
composer require logoscon/google-docs-oembed
Frequently asked questions.
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.