With Custom iFrame, you can embed Google Docs in WordPress easily. Display any Google Doc directly on your WordPress page so visitors can read it without leaving your site.
Note: Using Elementor? Follow our How to Embed Google Docs in Elementor? guide instead.
Quick Summary
Step-by-step guide to embed Google Docs in WordPress
1. Get the Google Docs embed link.
2. Install and activate the Custom iFrame plugin.
3. Open your page in the block editor and add the Custom iFrame block.
4. Paste the Google Docs URL into the Source field.
5. Adjust settings and customize the display.
6. Save and publish your page.
Step 1: Get the Google Docs Embed Link
- Open the Google Doc you want to embed.
- Go to the top menu and navigate to File, then Share, then Publish to Web.
- Click Publish, then click OK in the dialog box to confirm.
- Copy the generated link. Your Google Doc is now published and ready to embed in your WordPress site.
Step 2: Install the Custom iFrame Plugin
- Go to your WordPress dashboard.
- Navigate to Plugins, then Add New.
- Search for “Custom iFrame by Coderz Studio” and press enter.
- Click Install Now, then click Activate.

Step 3: Add the Custom iFrame Block in Gutenberg
- Open your page in the block editor.
- Click the Add Block button.
- Search for Custom iFrame.
- Click the Custom iFrame block to add it to the page.
Step 4: Embed Google Docs in the Custom iFrame Block
- Select the Custom iFrame block.
- In the Source field, paste the Google Docs URL you copied in Step 1.
Your Google Doc will appear inside the Gutenberg editor immediately.
Step 5: Adjust Custom iFrame Basic Settings
Once the Google Doc is embedded, you can configure the display settings in the Gutenberg block panel.
Height: Set the iframe height to match your content and page layout.
Scroll Bar: Enable or disable the scrollbar inside the embedded content.
Refresh Interval: Set how often the iframe refreshes. Useful if your Google Doc is updated frequently.
Smart Load: Enable lazy loading so the iframe loads only when it enters the viewport.

For a full walkthrough of every Custom iFrame block setting in Gutenberg, visit our Complete Custom iFrame for Gutenberg Guide.
Update or Publish the page. Your Google Doc is now live on your WordPress site.
This guide showed you how to embed Google Docs in WordPress using the Custom iFrame plugin. From getting the publish link to configuring the block and going live, the setup takes only a few minutes.

