Skip to content

Instantly share code, notes, and snippets.

@michelegiorgi
Created April 10, 2021 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save michelegiorgi/6df45a9881645f3fca8ec3458498d059 to your computer and use it in GitHub Desktop.
Save michelegiorgi/6df45a9881645f3fca8ec3458498d059 to your computer and use it in GitHub Desktop.
Formality shortcode reference

Example:
[formality id=“1” is_sidebar=“true” cta_label=“Open form!”]

Attributes:

  • id
    • your form id
  • remove_bg
    • remove background image from form embed
    • default: false
  • is_sidebar
    • add call to action button and open your form in an onscreen sidebar
    • default: false (standard “inline" embed)
  • hide_title
    • remove form title from embed
    • default: false
  • invert_colors
    • invert button colors (text and background color)
    • default: false
  • disable_button
    • remove button and open this form with a simple text link
    • if you enable this option you have to manually add a link in your text content with this href “#formality-open-5984” (5984 is your form id)
    • default: false
  • cta_label
    • button label
    • default: “Call to action"
  • align
    • button alignment
    • default: “left”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment