Documentation

Shortcodes & the form block

Three ways to put the donation form exactly where you want it.

The Donation Form block (recommended)

In the block editor, add the block named Donation Form (search "donation" or "donor"). You'll see a placeholder in the editor — the live form renders for visitors. The block accepts an optional heading shown above the form.

The shortcode

Anywhere shortcodes work — classic editor, widgets, page builders, theme templates via do_shortcode() — use:

[donor_merchant]

Add an optional title:

[donor_merchant title="Support our work"]
Upgrading from 1.x?The legacy [donation_form] shortcode still works and renders the same form. No need to edit old pages.

In a theme template

<?php echo do_shortcode( '[donor_merchant]' ); ?>

What the form includes

  • Frequency choice (one-time / monthly / quarterly / yearly) when recurring is enabled
  • Your suggested amounts plus an "Other" custom amount
  • Donor details (name, email, optional phone)
  • Optional dedication (in honor / in memory, with message)
  • Fee recovery checkbox with live total
  • Payment method choice when both Stripe and PayPal are enabled

Styling notes

The form ships with clean, self-contained styles scoped under .dm-form, designed to sit well in any reasonable theme. To restyle it, add CSS targeting .dm-form in your theme or the Customizer's Additional CSS — your overrides win because the plugin's selectors are deliberately low-specificity.

Placement tips

  • Give the form its own page (e.g. /donate/) and link to it from your navigation — a dedicated page converts better than a form buried mid-article.
  • Keep the page distraction-free: headline, one paragraph of why, the form. See donation page best practices.

Ready to put this into practice?

Donor Merchant is free, takes minutes to set up, and never touches a card number.

Download Donor Merchant free No signup. No platform fees. Or try the live demo first.