Re is out: see what's new Lifetime updates on every purchase Support replies within 24 hours Secure checkout via Gumroad 8,500+ sales since 2016

Place a form

Updated 2 min read 10 views

Every form has a shortcode with its own short ID. Copy it with Copy shortcode in the editor, or from the Contact Forms list:

[remaily id="a1b2c3d"]

Paste it into a Shortcode block, a widget, a page builder, or anywhere else shortcodes work. The ID stays the same when you export and import the site or a demo, so pages keep showing the right form after the move. The form’s post ID works too, as in [remaily id="123"].

The shortcode takes two more attributes: class adds CSS classes to the form’s wrapper, and html_id sets its HTML ID.

Any other attribute fills a field whose Fill from is Shortcode attribute: [remaily id="a1b2c3d" product="Blue chair"] puts Blue chair in a field named product.

Other ways to place it

WhereHow
Block editorAdd the Contact Form block and pick the form. The block shows the form as visitors see it.
ElementorAdd the Contact Form widget and pick the form.
WPBakeryAdd the Contact Form element and pick the form.
Classic widgetsIn Appearance → Widgets, add Contact Form.
Theme code<?php echo remaily_render( 'a1b2c3d' ); ?>

Re:Maily loads its script and styles only on pages that show a form.

Was this article helpful?