DocumentsEmbed Documents in Gutenberg

Embed Documents in Gutenberg

Guides for embedding PDFs, Google Docs, Sheets, Slides, Figma, and more in Gutenberg using the Custom iFrame WordPress plugin. No coding required.

Overview

Custom iFrame lets you embed documents in Gutenberg from Google Docs, Google Sheets, Google Slides, Figma, PDFs, and more. Paste any document URL into the block. No API keys, no shortcodes, no coding required.

Custom iFrame is a WordPress plugin by CoderzStudio that embeds 100+ external sources in Elementor and Gutenberg without writing any code.

Using Elementor instead? Follow the Embed Documents in Elementor guide.

Requirements

How to Embed a Document in Gutenberg

All document platforms follow the same three-step process.

Open your document platform

Go to the platform where your document lives: Google Docs, Google Sheets, Figma, or any other supported source.

Copy the share or embed link

Use the platform's share option to get a public URL. Copy it to your clipboard.

Each platform guide below shows exactly which link to copy.

Step 2: Add the Custom iFrame Block

Open your page in the block editor

Go to the page or post where you want the document. Click Edit to open the Gutenberg block editor.

Add the Custom iFrame block

Click the Add Block button. Search for Custom iFrame. Click the block to add it to the page.

Step 3: Paste the URL and Publish

Paste the document URL

In the right panel, paste the URL into the Source URL field. The document loads inside the block.

Set height and publish

Set Height to fit the document. 600px to 900px works well for most documents. Click Update or Publish.

Click Update or Publish. Your document is now live on your WordPress site.

Supported Document Platforms

Select your platform for a step-by-step embed guide.

Also in Elementor

All document platforms are also supported in the Elementor widget editor.

See Embed Documents in Elementor for all Elementor guides.