New Inspiro AI Demo Generator — can't find the perfect demo? Describe your website and AI builds a custom one in about 2 minutes. Learn more →

Knowledge Base

Documentation

Theme Documentation



Plugin Documentation



Resources

Adding Forms to Pages, Posts, and Widgets with WPZOOM Forms

This article refers to WPZOOM Forms

Once a form is saved in the Form Builder, you can place it anywhere on your site: with the Contact Form by WPZOOM block in the block editor, with the shortcode in any editor or widget area, or with the Elementor widget. This guide covers all three, plus the settings that matter when a form is embedded outside normal post content.


Table of Contents

  1. Where to find your form’s shortcode
  2. Option A: the Contact Form by WPZOOM block
  3. Option B: the shortcode
  4. Option C: the Elementor widget
  5. Widgets, footers and templates
  6. Tips for styling embedded forms
  7. Troubleshooting

Where to find your form’s shortcode

Every form has a shortcode of the form [wpzf_form id="5"], where the number is the form’s ID. You can copy it from two places:

  • In the Form Builder — click Embed in the top bar and use the Copy button.
Embed modal with the shortcode
  • In the forms list — go to WPZOOM Forms → All Forms; the Shortcode column shows it next to each form.
Shortcode column in All Forms

Option A: the Contact Form by WPZOOM block

The block is the easiest way in the block editor (posts, pages, the Site Editor).

  1. Edit the post or page, click the + inserter and search for WPZOOM Forms.
  2. Insert Contact Form by WPZOOM (it lives in the WPZOOM Blocks category).
Block inserter
  1. In the block sidebar, open Options → Form and choose the form. The Edit form link under it opens that form in the builder.
Block settings: choose a form
  1. Save or publish the page. The editor shows a live preview of the form.
Form block in the editor

Block-only extras

  • Alignment — the block toolbar offers None / Wide / Full in themes that support wide layouts, so a form can span the whole content width.
Block alignment options
  • Styles tab — per-embed colour overrides for Fields (Text, Label, Border, Background) and the Button (Text, Border, Background). These apply only to this block, on top of the form’s own Form Style — handy when the same form sits on a light page and in a dark footer.
Block Styles tab
  • Views for the Conversion Rate column in All Forms are counted for block and Elementor embeds (not for shortcode embeds).

Option B: the shortcode

Use the shortcode wherever a block isn’t available: the Classic editor, page builders, widget text areas, theme option fields, or inside other plugins’ content.

  1. Copy the shortcode (see above).
  2. Paste it where you want the form. In the block editor, use the Shortcode block:
Shortcode block
[wpzf_form id="5"]
  1. Save. The form renders on the front end.

If the form doesn’t appear (or appears unstyled) in a page builder or widget, turn on WPZOOM Forms → Settings → General → Load assets on all pages — see Troubleshooting.


Option C: the Elementor widget

WPZOOM Forms includes a native Elementor widget, so you don’t need the shortcode in Elementor.

  1. Edit the page with Elementor and search the widget panel for WPZOOM.
Elementor widget search
  1. Drag Contact Form by WPZOOM (free) / Contact Form PRO by WPZOOM (PRO) into the layout.
  2. On the Content tab choose the form under Select a Form.
Elementor widget: Content tab
  1. Optionally use the Style tab: Form (background, text colour, padding), Fields (border, radius, text and background colours), Labels (colour) and Button (border, radius, text and background colours). Like the block’s Styles tab, these override the form’s own style for this widget only.
Elementor widget: Style tab

Widgets, footers and templates

  • Block themes (Site Editor) — insert the Contact Form by WPZOOM block in a template part such as the footer or a sidebar, exactly as in a page.
  • Classic widget areas — add a Shortcode block (or a Custom HTML/Text widget) to the widget area and paste the shortcode.
  • Theme templates / PHP — echo do_shortcode( '[wpzf_form id="5"]' );

For any of these, enable Load assets on all pages so the form’s CSS and JavaScript are present on every page where the widget appears.


Tips for styling embedded forms

  • The look of a form (style, layout, label position, button) is set once in the builder — Settings → Form Style — and travels with it everywhere. See Styling Your Forms.
  • Use the block’s Styles tab or the Elementor Style tab only for per-placement colour tweaks.
  • To let your theme style inputs and buttons instead, turn off Settings → General → Use WPZOOM styling.
  • Custom CSS hooks (.wpzf-form, .wpzf-field--type-*, .wpzf-submit__btn) are listed in the styling guide.

Troubleshooting

The shortcode text shows instead of the form. Shortcodes only render where WordPress processes them. In the block editor use the Shortcode block, not a paragraph; in widgets use a Shortcode/Text widget. Check the ID exists under All Forms.

The form shows but looks unstyled, or the date picker / CAPTCHA / conditional logic doesn’t work. The plugin only loads its assets on pages where it detects a form in the post content; embeds in page builders, widgets or templates can be missed. Turn on WPZOOM Forms → Settings → General → Load assets on all pages and clear any page cache.

“This form is missing/trashed” notice (admins only). The block points at a form that was deleted or unpublished; pick another form in the block’s Form dropdown. Visitors don’t see this notice.

Two forms on one page. That’s fine — each embed submits independently. Each form keeps its own notifications and settings.


What’s Next?

Last updated on August 23, 2026