Adding interactive widgets to your website doesn't require coding skills or a custom-built platform. Whether you're using WordPress, Squarespace, or Wix, most modern website builders make it easy to embed external content using simple iframe snippets.
In this guide, we'll walk you through exactly how to embed widgets from WidgetForge into each platform — step by step.
What Is an Embed Code?
An embed code is typically a small snippet of HTML that looks something like this:
<iframe src="https://widget-forge.com/embed/your-widget" width="100%" height="400" frameborder="0"></iframe>
This code allows you to display content hosted elsewhere — like a WidgetForge widget — directly on your site. All you need to do is paste it into the right place in your page editor.
Embedding Widgets in WordPress
WordPress offers a couple of easy ways to add iframe embeds, depending on whether you're using the block editor or the classic editor.
Using the Block Editor (Gutenberg)
- Open the page or post where you want to add your widget.
- Click the "+ (Add Block)" button.
- Search for and select the "Custom HTML" block.
- Paste your iframe embed code into the block.
- Preview or publish your page.
Using the Classic Editor
- Switch to the "Text" tab (instead of Visual).
- Paste your iframe code directly where you want it to appear.
- Save or update your page.
100% for a responsive result on all screen
sizes.
Embedding Widgets in Squarespace
Squarespace makes embedding super straightforward with its built-in Code Block.
- Edit the page where you want your widget.
- Click an insert point (the "+" button).
- Select "Code" from the block options.
- Paste your iframe embed code.
- Click Apply, then save your page.
Embedding Widgets in Wix
Wix also supports iframe embeds through its HTML embed element.
- Open your site in the Wix Editor.
- Click "Add (+)" from the left sidebar.
- Go to Embed → Custom Embeds → Embed a Widget.
- Choose "Enter Code".
- Paste your iframe embed code and click Update.
- Resize and position the widget as needed.
Making Your Widgets Responsive
To ensure your widget looks great on all devices, follow these simple guidelines:
- Use
width="100%"in your iframe. - Adjust the height based on your widget's content.
- Avoid fixed pixel widths where possible.
Here's an example of a responsive embed code:
<iframe
src="https://widget-forge.com/embed/your-widget"
width="100%"
height="500"
style="border:none;"
></iframe>
Andy is passionate about creating free, easy-to-use widgets that help website owners engage their audiences and enhance user experience.
Ready to add a widget to your site?
No sign-up, no tracking, no cost. Pick a widget, configure it, and grab your embed code in seconds — no matter which platform you're on.
Need help with a specific widget? Reach out or check our other guides for more tips and inspiration.