Embedding a form on your site

Two ways to embed a form: a shortcode you paste anywhere, or the dedicated Gutenberg block.

1 min read Updated May 2, 2026 Beginner

Once a form is saved, embed it on any page, post, widget, or custom post type.

Shortcode

Every form has a shortcode shown on the Forms list. Format:

[wprobo_documerge_form id="1"]

Replace 1 with your form’s ID. Paste the shortcode into:

  • The block editor’s shortcode block
  • A classic editor post body
  • A text widget in the sidebar
  • A theme template (wrap in do_shortcode() when calling from PHP)

Gutenberg block

If you prefer the block editor:

  1. Edit any page or post.
  2. Click the + to insert a new block.
  3. Search for DocuMerge Form.
  4. Select the form from the block’s sidebar settings.

The block renders a live preview in the editor and the final form on the front end.

Styling

The form inherits your theme’s typography and button styles by default. DocuMerge adds minimal styling so the form fits your site without looking like a different product. If you need to customise, target the .wdm-form class in your theme’s custom CSS.

Multiple forms on one page

Two or more DocuMerge forms on the same page work independently. Each submits to its own handler with its own submission record.

Did this answer your question?