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 Linkstringnonenone, campaign, 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.
Alignmentstringleftleft, center, 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 Effectstringnonenone, confetti, or fireworks. Plays once when the timer reaches zero.

End-Date Line Parameters

ParameterTypeDefaultDescription
End-Date Text Positionstringhidehide, above, 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!

Donations Improvement

📊 Your Pro Dashboard Can Now Compare, Export, and Score!

Most fundraising dashboards only tell you how much you have raised. Charitable Pro 1.8.19 rebuilds the dashboard and the Reports Overview around the harder questions: whether anything is broken, whether this period beat the last one, and which single change would make the most difference today. Why this is important:

  • 📈 Every figure has a trend: Pick a period and the tiles and the chart move together, with each total shown against the previous period.
  • 🗓️ Charts that stay readable: Short ranges group donations day by day, while longer ranges group by week or month, so a full year reads as a curve instead of a flat line.
  • 🔀 Compare any 2 periods: Not just consecutive ones, so you can ask how this December did against last December. That matters because fundraising is seasonal.
  • 📤 Export the whole summary: Send the full overview out as CSV or PDF, ready for a board pack or a funder report.
  • 🎯 Score your setup for free: Have your fundraising setup scored, so the one change worth making next is the one you can see.

Check out our announcement here.

Feature New

🎟️ Introducing Charitable Events: Sell Tickets Inside Your Campaigns!

Most nonprofits sell event tickets in one tool and collect donations in another, which leaves two sets of reports and a manual match at the end of the year. Charitable Events brings both together, selling tickets through the same donation forms and payment gateways you already run in Charitable. Why this is important:

  • 🎟️ Every ticket is a donation: Ticket sales run through the gateway you already use and count toward the campaign goal, with everything managed under Charitable » Events.
  • 📱 QR check-in from any phone: Each attendee gets their own QR code on the receipt, and volunteers scan at the door through a check-in link that needs no WordPress account.
  • 🧾 Receipts ready for tax time: Give each ticket type a fair market value, and Charitable puts the correct tax-deductible amount on every donor receipt.
  • 📋 Attendee details at checkout: Ask every guest for a meal choice, shirt size, or access needs, with a separate attendee record created for each ticket.
  • 🗓️ Blocks and calendars included: Three editor blocks plus Sugar Calendar and The Events Calendar support put your events where supporters already look.

Check out our announcement here.

ai New

🚀 Unleash AI Power in Charitable!

Your AI assistant can now build, edit, and manage your Charitable fundraising campaigns directly — just by asking. With Charitable Pro adding write support for the WordPress Abilities API, tools like ChatGPT, Claude, and Cursor can handle full administrative actions safely through MCP. Why this is important:

  • 🤖 Campaign creation in plain language: Prompt your assistant with a goal like “Set up a fundraiser for the shelter with a $5,000 goal”, and it builds a real draft campaign complete with suggested donation tiers.
  • 🎨 Instant donation form tweaks: Add custom fields, change button colors, or reorder elements without diving into form settings.
  • 📝 Offline gift logging: Tell your assistant about cash or check gifts, and it will match donor emails and record transactions into your history.
  • 🛡️ Safety and control by default: Write access stays strictly off until turned on in Charitable » Tools » AI MCP, keeping read-only reporting safe by default.
  • 📜 Full audit logging: Every change made by an AI assistant is tracked under Charitable » Tools » Logs, so you always know who (or what) updated your site.

Check out our announcement here.

Improvement Payments

💰 Accept Recurring Donations with Windcave and Charitable

A donor sets their gift up once on Windcave’s secure payment page, and Charitable bills every renewal after that on schedule. Why this is important:

🏦 Organizations banked in New Zealand or Australia: monthly giving on the gateway your bank already set you up with, with no second processor to onboard.
⛪ Churches taking regular tithes and offerings: congregants set their own schedule once, which is the simplest way to launch recurring church giving without a separate platform.
🌏 Groups with donors in several currencies: Windcave handles more than 20, so a supporter can give in the currency they actually hold.
📅 Operating funds rather than one-time campaigns: switch on Recurring Only mode and the one-off option disappears, so every gift to that campaign is a subscription.
🧾 Teams with no developer on staff: 3 sets of credentials pasted into a settings page, and no code anywhere.

Check out our announcement here.

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.