Google Docs Embed Plugin Now Available With Commons 1.4!

If you are a Google Docs user, you may want to check out the great new plugin that Ray Hoh developed for the Commons 1.4 Release. Google Docs Embed lets you embed your Google documents, presentations, spreadsheets, and forms directly into your WordPress site’s posts and pages. Once embedded, you can continue to make changes in Google Docs, and your changes will be automatically reflected on your WordPress site. Pretty neat!

Getting Started

Login into your Google account, and find the item you want to embed. First, you’ll need its establish a public url. In Google Docs, go to “File>>Publish to the Web”. A dialogue box should appear, similar to the one below:

Copy the “Document Link,” highlighted in red, above.

Now go to your WordPress dashboard, and open up the post or page where you want to embed your document. On a new line, type the following shortcode and paste in the link you copied, above:

There are four custom parameters you can use in the shortcode expression. Here is a description of them all:

  • “width” – By default, this tries to use the current theme’s content width. If this doesn’t exist, the width is “100%”. Fill in this value to enter a custom width.
  • “height” – Enter in a custom height for your Google Doc if desired. Avoid percentages.
  • “size” – This parameter is only applicable to Presentations. You can enter in ‘small’, ‘medium’ or ‘large’. To set a custom width and height, use the ‘width’ and ‘height’ parameters listed above instead.
  • seamless=”0” – use this parameter if you want to see the Google Docs header and footer.  Omit this parameter if you don’t want to display them.

This plugin is very powerful when used with Google Forms. You can set up a Google Form, embed it on your WordPress site, and have your readers go to your site and enter data, and the data they enter will be collected in a spreadsheet on your Google Drive.

Let me know if you need help implementing this functionality on your Commons site.

, , , ,


  1. Welcome to the CUNY Academic Commons, Version 1.4 | Academic Commons News - August 13, 2012

    […] Google Docs for your blog The Google Docs Shortcode plugin, built by the Commons, allows for easy embedding of any type of Google Doc into a Commons blog page. To learn more about this plugin and how to embed Google Docs in your Commons blog post or page, click here. […]

  2. The Muggy Round Up : Footenotes - August 12, 2012

    […] As it turns out, everyone was having a pretty big week.  The Commons team (it’s weird to write in the third person) announced our feature packed Commons 1.4 release.  Commons 1.4 is the result of some serious work from the Development Team and you can check the development blog to stay up to date on bug fixes and the like.   In the days ahead keep an eye out for posts explaining some of the new features.  To get everyone started Scott Voth kicks things off by talking out the new Google Docs Embed Plug-In. […]

Creative Commons License

Need help with the Commons? Visit our
help page
Send us a message
Skip to toolbar