Skip to content

Mail Template Shortcodes

Where Shortcodes Are Used

Shortcodes are placeholders that get replaced with real values when an email is sent. You can use them in:

  • Mail Templates — Subject and body of each template (user, admin, client variants).
  • Email Footer — The global footer text shown at the bottom of all emails (configured on the Mail Templates page, in the Email Settings card).

How to Use Shortcodes

  1. Go to SettingsEmail Templates (top horizontal menu).
  2. Click Edit on the template you want to customize.
  3. In the Mail Editor, you will see a row of shortcode buttons above each editable area (Subject, Body).
  4. Click a button to insert that shortcode at the cursor, or type it manually using double brackets.
  5. Format: [[shortcode_name]] (e.g. [[firstname]], [[email]]).

Common Shortcodes

The available shortcodes vary by template. Each template defines its own list. Common ones include:

  • [[firstname]] — Recipient’s first name.
  • [[email]] — Recipient’s email.
  • [[website_name]] — Your site name.
  • [[website_url]] — Your site URL.
  • [[base_url]] — Base URL of your installation.
  • [[website_logo]] — Your site logo image.

Other templates may have shortcodes specific to that email (e.g. order details, payout amount, subscription info). The buttons shown in the editor are the ones valid for that template.

Footer Shortcodes

In the Email Settings card on the Mail Templates page (expand it by clicking the card header), the Footer Text editor has these shortcodes available:

  • [[website_name]]
  • [[website_url]]
  • [[base_url]]
  • [[website_logo]]

Shortcodes are case-sensitive. Use the exact format shown in the editor buttons. If a value is missing (e.g. no first name), the shortcode may be replaced with an empty string.

Was this article helpful?

2 views