Sites@Duke: Embedding Google docs into your site
How to embed a Google Form (or any other Google doc) into your Sites@Duke website
From your site’s Dashboard, go to the Plugins tab. Scroll down to “Google for WordPress” and click Activate.
When you activate this Plugin, another tab, “WP & Google,” will appear on the left-hand side of your screen. Click on this tab. Under the modules section, click the “YES / NO” button next to Google Drive to activate the Google Drive module. Scroll to the bottom of the page and click “Save changes.”
The page will then reload, and under the “WP & Google” tab on the left side of the screen there will be a new option, “Google Drive.” Click on it. It will bring you to a “General” section. Type in your site’s name in the text box next to “Site name” (if you aren’t sure what the name of your site is, it is in the upper-left-hand of your screen next to a house icon). Also make sure the “YES / NO” button next to Shortcode is selected. Click “Save changes” at the bottom of the page.
Next, go to the “Embed” section, click the button next to Shortcode, and hit “Save changes” at the bottom of the page. Finally, go to the “Viewer” section and do the same thing.
Next, you want to go to the page you want to embed the form in, and type (or copy and paste) the following:
[sz-drive-embed type=”forms” id=”1I9MLjVZdSDII25yp9ZRweSt1lGpV60QNeEooXLBL6CI”/]
Before updating, change the id to your form’s id. The id is taken from the following section of the form’s embedding URL (which can be found by clicking SEND and then the chain link):
Alternatively, you can just copy it from the editing page URL:
Then, all you have to do is update the page, and then it will be embedded in the page!
The process for embedding any other type of Google Drive file is very simple. All that is required is that you type the shortcode for the appropriate formats, and change the id to match your files: