Answers/Can I embed a form in WordPress?

Can I embed a form in WordPress?

Updated March 2026

Yes. Two lines of HTML. Works with Gutenberg, Classic Editor, Elementor, Divi, and any page builder.

For the Block Editor: add a Custom HTML block, paste the snippet, replace YOUR_FORM_ID with your form's ID. Preview and publish.

For the Classic Editor: switch to the Text tab (not Visual -- the Visual editor strips script tags) and paste the snippet where you want the form.

For page builders: Elementor uses an HTML widget. Divi uses a Code module. WPBakery uses Raw HTML. Same pattern everywhere -- find the raw HTML component, paste two lines.

Want it site-wide? Add the script tag to your theme's footer.php or use a plugin like Insert Headers and Footers. Then place the div container only on pages where you want forms.

One thing to know: this works with WordPress.org (self-hosted) and WordPress.com Business plans. Free and Personal WordPress.com plans don't allow custom JavaScript.

Sutrena forms don't conflict with existing form plugins. Contact Form 7, WPForms, Gravity Forms -- they all coexist fine. The Sutrena form is a self-contained iframe.

The iframe handles responsive sizing automatically. Content areas, sidebars, widget zones -- no CSS adjustments needed.

<!-- Add this to a Custom HTML block in WordPress -->
<script src="https://sutrena.com/embed.js" defer></script>
<div data-sutrena-form="YOUR_FORM_ID"></div>

Ready to build?

Get a trial API key instantly — no signup required.

Can I embed a form in WordPress? — Sutrena | Sutrena