Shortcodes and Block Reference

October 26, 2026
Developers
10 views
1 min read
Updated October 26, 2026

[formglut]: show a form

[formglut id="3"]
AttributeRequiredWhat it does
idYesThe form ID. Find it on All Forms or in the editor’s Shortcode button.

The form only shows when it is Active.

[formglut_gate]: hide content until a form is submitted

[formglut_gate form="3" days="30" message="Fill in the form to get the download."]
  <a href="/files/guide.pdf">Download the guide</a>
[/formglut_gate]
AttributeDefaultWhat it does
form (or id)—The form that unlocks the content.
days30Days the content stays unlocked on that browser (1–365).
messageFill in the form to see the content.Text above the form.

See Share Page and Gated Content.

FormGlut block

In the block editor, add the FormGlut block and pick a form. Block attributes: formId, align and className.

Elementor widget

In Elementor, search for the FormGlut widget and choose the form.

Shortcode and Action Hook fields

Two fields let you add your own output inside a form:

  • Shortcode field: runs any shortcode where the field is placed.
  • Action Hook field: calls a WordPress action, so a developer can print custom HTML with add_action().