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.
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)
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]
- Go to the ‘Plugins’ menu, and choose ‘Add New’.
- Search for ‘google-docs-oembed’, and then click ‘Install Now’.
- Click ‘Activate’.
- Download and extract the .zip file.
- Upload the unzipped folder to the
- Activate the plugin through the ‘Plugins’ menu.
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.
There are no reviews for this plugin.
Contributors & Developers
“Google Docs oEmbed” is open source software. The following people have contributed to this plugin.Contributors
“Google Docs oEmbed” has been translated into 2 locales. Thank you to the translators for their contributions.
Translate “Google Docs oEmbed” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Added Code Climate integration.
- Added moar badges (yes I am a badge poser).
- Added contribution guidelines.
- Updated README.
- Updated Codacy badge url.
- Fixed NPath complexity of 300.
- Added Codacy (a tool for automated code review) badge.
- Removed the loader class.
- Minor changes.
- Added language file.
- Fix PSR-4 loader conflict with older implementation.
- Added GitHub Updater support.
- Added Update supported WordPress version.
- Added composer.lock to repo.
- Added vendor folder to SVN repo.
- Minor changes.
- Check if autoloader exists before requiring.
- Removed an esc_attr() incorrectly called on $extra.
- Added a build task with composer support.
- Initial release