Embed Google Drive
Embed a link and preview of Google Drive Documents by pasting a shared document link into the editor.
Requires at least: 5.5
Tested up to: 6.4.2
License: GPLv2 or later
Requires PHP: 7.4+
Installation
- Download the plugin from here
- Add the plugin from the WordPress admin panel.
- Activate the plugin through the 'Plugins' menu in WordPress
How to use
- Copy the URL of drive document which you want to embed. Note: The document must be shared with anyone with the link.
- Create new post/page or edit existing one.
- Paste the URL in the editor. It will automatically embed the document.
Video Guide
https://github.com/rtCamp/embed-google-drive/assets/56588503/d376c750-c0f8-4bfe-8b23-79ae1f070f46
Development Notes
Please run following commands from the root directory.
- Please verify your code is in compliance to the Coding Standards used in this Project.
- Run
composer phpcs filename
or composer phpcs
to check for PHPCS errors/warnings.
Building Plugin assets
- Run
npm install
from repositories root to install all required dependencies.
- To build a production version run
npm run build
.
- While developing the plugin run
npm run dev
to build assets on file changes.
- If any string is added/updated, run
npm run language
to update the language file. ( Assumes availability of wp i18n
command. )
Does this interest you?