Plugin Directory

Google Drive Embedder

Browse for Google Drive documents and embed directly in your posts/pages. Extends Google Apps Login plugin so no extra user auth required.

How can I obtain support for this product?

Full support is available if you purchase the premium or enterprise license from the author via: https://wp-glogin.com/drive/

The paid plugins also support more file types (such as embedded Videos and Drive Folders) and allows you to browse your Google Calendars to embed in your posts/pages.

Please feel free to email support@wp-glogin.com with any questions (specifying Drive in the subject), as we may be able to help, but you may be required to purchase a support license if the problem is specific to your installation or requirements.

We may occasionally be able to respond to support queries posted on the 'Support' forum here on the wordpress.org plugin page, but we recommend sending us an email instead if possible.

How can I embed Drive Folders in my website?

You will need to purchase either the premium or enterprise version of Google Drive Embedder from our website.

The Premium version will allow you to embed folders in a basic 'iframe' format.

For advanced 'interactive' folders, where users can preview files and drill-down into subfolders all without leaving your site, please take a look at the Enterprise version.

The Enterprise version of Google Drive Embedder integrates Drive much more closely with your WordPress intranet, essentially allowing each page or post on your intranet to host its own file attachments, completely backed by Drive.

This means you no longer need to manage Drive and your Intranet as two completely separate document sharing systems!

Find out more.

Why is the option for Viewer / Download / Embed disabled for some files?

Download isn't normally enabled for native Google file types.

Embed should be enabled for many non-native file types (e.g. PDF, Word DOC). If not, you may need to increase sharing settings within Google Drive to 'anyone with the link may view', or higher.

If that still doesn't work, your file type may not be supported. Please get in touch (send your file or share with us if possible), and we will see if it can be supported - email contact@wp-glogin.com.

To embed Google Drive Folders or image file types, you will require the premium or enterprise version of the plugin. You will be notified if that is the case for your selected file.

How does the plugin respect Google Drive sharing settings?

Google Drive Embedder will show different behavior depending on your document's type and its sharing settings within Google Drive.

Generally, we recommend setting files' Sharing settings to at least 'anyone with the link can view', in order for them to be visible to all visitors.

This setting is essential for third-party file types such as Word and PDF (otherwise all visitors will see unintelligible content).

You can use lower sharing settings for Google documents (e.g. share only within the organization, or with specific users), but in that case you will need your users to be logged in to a Google account that is authorized to view the content (otherwise, they will be told they do not have permission).

When using 'anyone with the link can view', you must understand that any visitors to your WordPress site will be able to obtain that document's link and potentially open the document outside of your WordPress site.

I embed a (non-Google) document, but I just see some HTML in the published post

Specifically, you see something starting:

<!DOCTYPE html>

Most likely, you need to increase sharing settings for the file. In your Google Drive, find the file and click 'Share'. Click 'Change', and then on 'Anyone with the link can view'. Click 'Done'.

You also need to make sure you have not chosen to 'Prevent viewers from downloading'. To check this, find the file in your Google Drive list, and see if 'Allow viewers to download' is available from the right-click menu. If so, click it to turn it off!

If you reload your published page or post in WordPress, it should now display properly, or at least give a message saying that the document type is unsupported. Please get in touch if not!

In the Add Google File dialog box, I just get the Google Error "Forbidden". Even though I promise I followed the instructions, including enabling Drive API!

Google Apps' user and permissions systems are complex, and there are many ways you could forbid your users from using the Drive API.

You could have disabled API access completely, so take a look in your GA admin panel and look for anything obvious.

One reason a lot have people have seen 'forbidden' in the past is because they have the following setting unchecked: go to Google Apps -> Drive, and then General Settings -> Allow users to install Google Drive apps.

After changing settings, you should logout of WordPress and Google, then refresh and try all over again.

How is this different to the plugin Google Doc Embedder?

Google Doc Embedder only allows you to embed other files such as PDF, Word etc in your site. It has nothing much to do with Google, other than the fact it uses an online Google service to render documents. By contrast, our plugin (Google Drive Embedder) allows you to browse your Google Drive files and easily embed those directly into your site - both native Google formats and other file types PDF, Word, ZIP etc.

Why do I also need to install the Google Apps Login plugin?

This Google Drive plugin extends the Google Apps Login plugin, making use of that plugin's settings rather than insisting that you register a new whole new application with Google for each plugin separately. For those of your users who choose to Login via Google to connect to your WordPress site, they only need to authenticate once to be able to browse their Google Drive through the Google Drive plugin, rather than having to click a second time to allow Drive access.

Because of this, the Google Drive plugin itself requires no configuration at all - it is delegated to Google Apps Login.

For Multisite Network, this means that admins can set up Google Apps Login network-wide, but safely defer the choice of activating any further plugins (which extend Google Apps Login) to individual site administrators.

I have installed Google Apps Login plugin but the Google Drive plugin still says I need to install it

Are you sure you have upgraded to the latest version - must be 2.0 or higher?

Have you also configured the plugin? Under Settings -> Google Apps Login, you will need to follow the instructions to obtain a Client ID and Client Secret from Google Cloud Console, and enter them into that settings page.

How can I purchase the premium or enterprise version?

You can purchase a license here: http://wp-glogin.com/drive/

What are the system requirements?

  • PHP 5.2.x or higher with Curl and JSON extensions
  • WordPress 3.3 or above

And you will need a Google account to set up the Google Apps Login plugin.

Requires: 3.3 or higher
Compatible up to: 4.2.2
Last Updated: 2015-6-29
Active Installs: 4,000+


5 out of 5 stars


7 of 8 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1