Charitable Documentation

Learn how to make the most of Charitable with clear, step-by-step instructions.

Campaign Countdown

The Campaign Countdown displays a live-updating timer that counts down to a campaign’s end date, giving donors a clear, urgent visual cue to act before the deadline. Available in Charitable Pro 1.8.14+.

Key Features

  • Counts down in days, hours, minutes, and seconds, with per-unit visibility.
  • Pick a Boxed (bordered tiles) or Inline (compact one-line) style.
  • Choose what happens when a campaign ends: show a message, freeze the timer at zero, or hide it.
  • Trigger an optional confetti or fireworks celebration the moment the timer hits zero.
  • Add a clickable headline that links to the campaign or its donation form.
  • Style numbers, labels, background, and border with the same Coloris picker used elsewhere in Charitable Pro.
  • Toggle a built-in digital seven-segment font for a classic countdown look.
  • Show or hide an “Ends on [date]” line above or below the timer.
  • Available as a Campaign Builder field, a Gutenberg block, and a shortcode.
  • Honors the visitor’s reduced-motion preference for the celebration animation.

Why Use Campaign Countdown?

Urgency converts. A visible deadline tells donors exactly how much time they have left to support a campaign, which is one of the most reliable ways to lift end-of-campaign giving. Building the countdown directly into Charitable means it stays in sync with the campaign’s end date automatically, so you never have to update a separate widget.

See It In Action

Requirements

  • Charitable Pro 1.8.14 or later
  • The campaign must have an end date set (campaigns marked as endless will not render a countdown)

Getting Started

Activation

The Campaign Countdown is built into Charitable Pro 1.8.14+. No separate addon to install. As soon as you update to a supported version, the field, block, and shortcode are available.

Where to Find It

  • Campaign Builder: open a campaign, switch to the Fields tab, and look under Pro fields for “Countdown”.
  • Gutenberg editor: search for “Campaign Countdown” in the block inserter.
  • Shortcode: drop [charitable_campaign_countdown] on any post, page, or template.

Usage

Block (Gutenberg)

Insert the Campaign Countdown block from the widgets category, then pick the campaign in the block sidebar. Every visual and behavioral option from the Campaign Builder field is exposed in the block settings panel, so you can place a styled countdown anywhere in the WordPress editor.

Campaign Builder Field

Drag the Countdown field onto the campaign canvas. All settings live in the right-hand panel: headline, link target, units, style, colors, sizing, alignment, expiry behavior, and celebration effect. The Campaign Builder live preview reflects every change as you edit.

If the campaign has no end date set, the field shows an inline warning in the builder and renders nothing on the front end until you set the end date in Settings → Campaign Duration.

Shortcode

[charitable_campaign_countdown]

When used inside a campaign loop or on a campaign page, the shortcode auto-detects the current campaign. Use the campaign_idattribute to render a countdown for a specific campaign anywhere else on your site.

[charitable_campaign_countdown campaign_id="123" style="inline" show="days,hours,minutes" headline="Last chance to give!"]

Configuration Options

Shortcode Parameters

ParameterTypeDefaultDescription
campaign_idintegercurrent post IDThe campaign to count down to.
stylestringboxedboxed for bordered tiles, inline for a single-line compact display.
showstringdays,hours,minutes,secondsComma-separated list of units to display. Any subset of the four units.
headlinestringemptyOptional headline shown above the timer.
linkstringemptycampaign links the headline to the campaign page; donation links to the donation form.
classstringemptyExtra CSS class added to the countdown wrapper.

Block / Field Display Parameters

ParameterTypeDefaultDescription
HeadlinestringemptyOptional text shown above the timer.
Headline Linkstringnonenonecampaign, or donation.
Stylestringboxedboxed or inline.
Show Unitsarrayall fourDays, hours, minutes, seconds. Each can be toggled independently.
Use Digital Display FontbooleantrueApplies a seven-segment style to the numbers.
Alignmentstringleftleftcenter, or right.

Expiry Parameters

ParameterTypeDefaultDescription
When Campaign Endsstringmessagemessage shows a custom message, zero keeps the timer at 00:00:00:00, hide removes the countdown.
Expired MessagestringCampaign EndedText shown when the behavior is message.
Hide Delay (Minutes)integer0Minutes to keep the countdown on screen after it hits zero before applying the end-state action.

Celebration Parameters

ParameterTypeDefaultDescription
Celebration Effectstringnonenoneconfetti, or fireworks. Plays once when the timer reaches zero.

End-Date Line Parameters

ParameterTypeDefaultDescription
End-Date Text Positionstringhidehideabove, or below. Controls the “Ends on [date]” line.

Style Parameters

ParameterTypeDefaultDescription
Number Colorhex#222222Color of the unit numbers.
Label Colorhex#222222Color of the unit labels.
Background Colorhexempty (transparent)Background of each unit tile. Empty equals “no fill” so the parent surface shows through.
Border Colorhex#222222Border color around each tile (boxed style only).
Border Radius (px)integer6Corner radius for tiles.
Number Font Size (px)integer32Font size for the unit numbers.
Label Font Size (px)integer11Font size for the unit labels.
CSS ClassstringemptyExtra class added to the wrapper for custom CSS hooks.

Customization

The countdown is styled with CSS custom properties so you can theme it from a single rule set:

:root {
  --ccd-number-color: #222222;
  --ccd-label-color: #222222;
  --ccd-bg-color: transparent;
  --ccd-border-color: #222222;
  --ccd-border-radius: 6px;
  --ccd-number-size: 32px;
  --ccd-label-size: 11px;
}

Template override path: charitable/shortcodes/campaign-countdown.php (copy into your theme’s charitable/ folder).

Troubleshooting

The countdown does not appear on the front end

Check that the campaign has an end date set in Settings → Campaign Duration. Endless campaigns and campaigns missing an end date render no markup at all.

The campaign ended but the timer is still on screen

Check the “When Campaign Ends” setting. With Hide Delay greater than zero, the timer stays visible for that many minutes past the end date before switching to the expired state.

Celebration animation is not firing

The celebration is suppressed for visitors who set their operating system to “reduce motion”. The animation also only plays once, at the moment the timer crosses zero, so refreshing the page after the campaign has already ended will not replay it.

Colors look invisible

A blank Background color is treated as “no fill” (transparent) on purpose, so the countdown blends into colored sections. If text is hard to read, raise the contrast on the Number or Label color, not the Background.

Developer Resources

Hooks & Filters

  • charitable_campaign_countdown_shortcode_output — filter the final rendered countdown HTML.
  • charitable_countdown_end_date_format — filter the PHP date format used for the “Ends on” line.
  • charitable_countdown_end_date_formatted — filter the formatted date string passed into the “Ends on” template.
  • charitable_countdown_end_date_label — filter the full “Ends on [date]” label.

Useful Functions

  • Charitable_Campaign_Countdown_Shortcode::display( $atts, $overrides ) — render the countdown programmatically.
  • Charitable_Countdown::defaults() — get the canonical default settings array shared across the block, field, and shortcode.

Additional Resources

Still have questions? We’re here to help!

Last Modified:

What's New In Charitable

View The Latest Updates
🔔 Subscribe to get our latest updates
📧 Subscribe to Emails

Email Subscription

Join our Newsletter

We won’t spam you. We only send an email when we think it will genuinely help you. Unsubscribe at any time!

automation update

⚡ Visual Automation Builder: Drag and Drop With No Code!

Charitable Automation Connect 2.3.0 introduces the Visual Automation Builder, a full-screen canvas that lays each automation out as a flow of connected cards: a trigger, optional conditions, and a list of actions that run in order.

🧩 Many actions, one trigger: Tag a donor, send an email, add a note, and fire a webhook from a single event, dragged into any order.

✉️ Act inside Charitable: New Send Email, Tag Donor, and Add Donor Note actions run with no external service required.

🔤 Merge tags: Personalize emails and notes with live fields like {first_name}, {total}, and {campaign_name}.

🔁 Apply to existing donors: Run Tag Donor and Add Donor Note against the donors you already have.

🖥️ Canvas or Simple: Switch views anytime, and automations built before 2.3.0 keep working unchanged.

Read more here.

Integration updated

📬 Introducing Brevo for Charitable: Turn Donors into Subscribers Automatically

The moment a supporter makes a gift is when they are most engaged. With the new Brevo integration for Charitable, you can automatically turn those one-time donors into long-term subscribers without touching a single spreadsheet.

Simply collect donor consent right on your donation form and start your welcome series immediately.

What’s New:

🔄 Automated Subscriber Sync: New donors who opt in are added straight to your Brevo contact list as soon as their payment clears—no manual exports or CSV imports required.

🎯 Granular Consent & Opt-In Control: Customize your checkbox label, choose whether it defaults to checked or unchecked, or turn on Brevo double opt-in to keep your list clean and compliant.

📋 Per-Campaign List Mapping: Route supporters to your global email list or map specific campaigns to targeted Brevo lists to tailor your follow-up messaging.

⚡ 5-Minute Setup: Connect instantly by pasting your Brevo API key into the Newsletter settings, map your contact fields, and start building your email list on autopilot.

Ready to grow your mailing list? Brevo is available now starting on the Charitable Plus plan—connect your account today!

recurring donations updated

💳 Introducing Card Updates: Fix Expired Cards Without Losing Subscriptions!

newExpired or updated credit cards are one of the biggest silent leaks in recurring fundraising. With Card Updates in the Recurring Donations extension, donors can now refresh their payment details directly—keeping their subscription, schedule, and giving history completely intact.

No canceled plans, no lost history, and zero administrative headache for your team.

What’s New:

⚡ 30-Second Self-Service: Donors get a dedicated “Update Card” button in their dashboard that opens Stripe’s secure, PCI-compliant Customer Portal to update card details instantly.

🔒 Scoped & Safe Access: Scoped exclusively to card updates by default, donors can’t accidentally cancel or alter their plans from inside the portal, keeping your webhooks and data in sync.

🤝 Admin-Assisted Support: Helping a donor on the phone? Open their secure Stripe portal in one click from your admin screen or generate a single-use update link to email them.

📋 Automatic Audit Trail: Every payment method update is recorded automatically with a timestamp in both system-wide logs and the individual donor’s profile.

Ready to protect your recurring revenue? Get the Plus or Pro plan and update Recurring Donations to 2.3.0+ and enable “Update Payment Method” under your Settings today!

Integration page builder

Divi Fans Rejoice! Native Divi 5 Campaign Progress Bar Module!

With our new native Divi 5 module, you can anchor your microsites with real-time fundraising stats directly on the visual canvas. Here’s how it works, and why it’s worth turning on today.

Create campaign updates that are VISUAL AND LIVE. You can also:

📊 Campaign Progress Bar: Drop a live progress bar into any Divi 5 layout and show goal progress in real time.

🎨 Deep styling controls: Easily customize the bar and track color, height, and radius to match your brand perfectly.

👁️ Visual Builder ready: Configure and preview everything directly on the Divi canvas as a first-class module.

🔁 Identical rendering: The same exact engine powers this module, meaning consistent design without legacy shims.

✅ Faster launches: Never leave the Divi 5 interface to configure shortcodes or guess how your goal labels will look.

Learn more here.

Integration page builder

👉🏻 New in Charitable: Native Elementor Widgets for Seamless Campaign Building

With native Elementor widgets, you design donation campaigns right alongside the rest of your page without touching code. Here’s how it works, and why it’s worth turning on today.

Create fundraising pages that are VISUAL, NATIVE, AND SHORTCODE-FREE. You can also:

⚡ Mini Donation: Add a compact, high-converting donation widget with preset amounts and full color control.

⏳ Campaign Countdown: Build urgency for a deadline-driven appeal, complete with optional confetti when the goal is hit.

📣 Donation Feed: Prove momentum by showing visitors the social proof of real people giving right now.

🏆 Donor Leaderboard: Celebrate top supporters with gold, silver, and bronze styling to spark friendly giving.

🖼️ Campaign Showcase: Feature multiple campaigns in a landing page grid or carousel, with search, filters, and badges.

Learn more here.