Embed Google Slides in Gutenberg
Step-by-step guide to embed Google Slides in Gutenberg using the Custom iFrame WordPress plugin. No API key needed. No coding required.
Overview
Custom iFrame lets you embed Google Slides in Gutenberg by pasting a published presentation URL into the block. Display presentations, portfolios, and reports directly on your WordPress page without an API key.
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 Google Slides in Elementor guide.
Requirements
- Custom iFrame plugin installed and active
- WordPress with the Gutenberg block editor
- A Google Slides presentation published to the web
Step 1: Get the Google Slides Link
Open your Google Slides presentation
Open the presentation you want to embed in Google Drive.
Publish the presentation to the web
Go to File > Share > Publish to web. Click Publish, then confirm by clicking OK.
Copy the published link
Copy the generated link. The URL ends in /pubhtml. This is the URL you will paste into the Custom iFrame block.
Paste the /pubhtml link into a browser where you are not logged into Google. If the presentation does not load, it was not published correctly. Repeat the publish step.
Step 2: Install the Plugin and Add the Block
Install and activate the plugin
Go to your WordPress dashboard. Go to Plugins > Add New. Search for Custom iFrame by Coderz Studio, click Install Now, then click Activate.

Open your page in the block editor
Go to the page or post where you want the presentation. 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: Embed Google Slides in Gutenberg
Paste the Google Slides URL
Select the Custom iFrame block. In the Source field in the right panel, paste the /pubhtml URL you copied. The presentation appears inside the block in the editor.
Set the height
Set Height to match your slide dimensions. A 16:9 presentation at 800px wide needs about 450px height.
Step 4: Adjust Settings and Publish
Scroll Bar: Disable scrollbars for a cleaner presentation display.
Refresh Interval: Set how often the iframe refreshes. Useful if the presentation updates frequently.
Smart Load: Turn on lazy loading so the iframe loads only when it enters the viewport.
Click Update or Publish. Your Google Slides presentation is now live on your WordPress site.
Want to add a custom watermark (Pro), device frame (Pro), or full screen button? See the Set Up Custom iFrame in Gutenberg guide for all block options.
This guide showed you how to embed Google Slides in Gutenberg using the Custom iFrame plugin. From publishing the presentation to pasting the URL and updating the page, the whole setup runs through the block editor without any code.
FAQ
No. Once published to the web, the presentation is publicly accessible. You do not need an account or API key.
Confirm the URL ends in /pubhtml. Test it in a browser where you are not logged into Google. If it does not load, republish from File > Share > Publish to web.
Yes. Published Google Slides reflect edits automatically. Updates appear in the embedded version after a short delay.
Standard Google Slides use a 16:9 ratio. For an 800px wide embed, set height to 450px. For 1024px wide, set height to 576px.
Also Available For
Embed Google Slides in Elementor
Guide for the Elementor widget.
Embed Google Sheets in Gutenberg
Embed Google Sheets in the block editor.
Related Guides
Last updated today
Built with Documentation.AI