Shortcode Reference
Dispatch Pro uses the same subscription form shortcode as Dispatch Core. The shortcode is registered by the Core plugin, so Dispatch Core must be active for the form to work — even if you are using Pro features everywhere else.
The shortcode
[mmedia_dispatch]
Attributes
-
title— (optional) heading displayed above the form. Default: none. -
description— (optional) subtext shown below the heading. Default: none. -
button_text— label for the submit button. Default: Subscribe. -
success_message— message shown after submission. Default: Thank you! Please check your email to confirm your subscription. -
name_field— set totrueto show a first name field. Default:false.
Examples
Basic form:
[mmedia_dispatch]
Form with name field and custom text:
[mmedia_dispatch title="Stay in the loop" description="Get updates when new content goes live." name_field="true" button_text="Sign me up"]
Behavior
- Form submissions are handled via AJAX — no page reload
- After submission, the form is replaced with the success message
- If double opt-in is enabled (default), the subscriber stays Pending until they click the confirmation link in their email
- Duplicate submissions from an already-active subscriber are silently rejected
-
Style the form using the CSS class
.mmedia-dispatch-form
Next: Troubleshooting
Dispatch Pro
Premium self-hosted email marketing for WordPress. Everything in Core, plus the Visual Builder, customizable transactional emails, and CSV import/export.
Quick Links
- Overview
- Requirements
- Installation
- Configuration
- Managing Campaigns
- Subscriber Management
- Transactional Emails
- Visual Builder
- Shortcode Reference
- Troubleshooting
Need support?