How to Embed Google Docs into WordPress

March 15, 2024 / Web Hosting

This article illustrates how to embed Google docs into WordPress. Embedding Google Docs into WordPress can be a great way to share documents with your readers or collaborate on content.

This is a systematic guide on how to do it-

  1. Create a Google Doc-
    Go to Google Docs (docs.google.com) and create a fresh document or open an present one.
    Docs
  2. Share the Google Doc-
    1. Click on the “Share” button in the top-right corner of the document.
      Share
    2. In the “Share with others” dialog box, click on “Get link” in the bottom-right corner.
    3. Select the suitable sharing settings (e.g., “Anyone with the link can view”).
      Anyone with the link
    4. Copy the link provided.
      copy link
  3. Embed the Google Doc in WordPress-
    1. Go to your WordPress dashboard.
    2. Create a new post or page, or edit an existing one.
      Add new post
    3. Switch to the “Text” or “HTML” mode (not the visual editor) in the editor mode.
      Text
    4. Paste the Google Docs link you copied earlier.
    5. WordPress will automatically convert the link into an embedded Google Doc.
  4. Adjust the Embed Settings (Optional)-
    1. If you wish to customise the appearance or behavior of the embedded Google Doc, you can do so by adding parameters to the URL.
      For example, you can add &embedded=true to the end of the URL to ensure that the document is embedded in the page rather than displayed in a new tab.
    2. You can also add &headers=false to hide the document’s title and header.
  5. Preview and Publish-
    1. Switch back to the “Visual” editor to see a preview of the embedded Google Doc.
    2. If everything looks good, you can publish or update your post or page.
  6. Test the Embedded Google Doc-
    1. View the published post or page to make sure the embedded Google Doc is working as expected.
    2. You should be able to view and interact with the document directly on your WordPress site.

That is it! You have successfully embedded a Google Doc into your WordPress site. This method allows you to easily share documents with your readers or collaborate on content without having to worry about file uploads or compatibility issues.

 

Spread the love