WordPress doesn't support iframe embeds on its free sites, but it does provide a Shortcode option for Google Apps. It seems to automatically convert the iframe code from the older version of Google Drive into the Shortcode snippet, but it doesn't seem to work anymore now that Google has changed the form of its form URLs.
Is there an easier way to do this? Am I missing something here?
The old form looks like this:
<iframe src="https://docs.google.com/spreadsheet/embeddedform?formkey=MyFormKey" frameborder="0" width="760" height="500" marginheight="0" marginwidth="0"></iframe>
and the new form looks like this:
<iframe src="https://docs.google.com/forms/d/MyFormKey/viewform?embedded=true" width="760" height="500" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>
They work fine when tested at the W3 school HTML sandbox.
Best Answer
It's just a matter of pasting the iframe code. The following
is converted to this after saving the post
So, it's possible to just copy the document ID and write the shortcode directly.
Documentation.