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!

GiveWP Migrations New

White Glove Migration Service for GiveWP

Thinking about switching your fundraising platform from GiveWP to Charitable, but don’t want to risk losing your data or handle a complex technical setup yourself? Charitable’s White Glove Migration Service features:

👥 Flawless Donor Mapping: Safely transfer your entire supporter database with zero data loss.

📊 Complete Financial History: Meticulously preserve every historical transaction for continuous, accurate reporting.

🔄 Seamless Recurring Giving: Safely transfer active sustaining subscriptions without disrupting your incoming revenue or requiring your donors to update their information.

💳 Zero Gateway Disruptions: Keep using Stripe, PayPal, or any other GiveWP-compatible processor you already love.

🚀 Expert Technical Setup: Relax while our team handles the heavy lifting to install and configure your forms—plus, qualifying users get a full year of Charitable Pro completely free.

Visit this page to learn more.

automation Improvement

📢 New Feature Alert: Automation Connect 2.0 Is Here! 🚀

Thinking about connecting your fundraising data to tools like Mailchimp, Slack, or Google Sheets, but don’t want to hire a developer or write custom code? Charitalbe’s new automation addon has:

⚡ 17 Event Triggers: Instantly fire webhooks for a donor’s first gift, renewal payments, or reached campaign milestones.

🎯 Smart Conditional Logic: Use powerful AND/OR logic across 11 fields to only send data when it meets your exact criteria, like newsletter opt-ins.

📊 Custom Payload Control: Select from 80+ clean data fields across donor, donation, and campaign metadata so your apps get exactly what they need.

🚀 Pre-Built Platform Templates: Skip the setup from scratch with ready-to-go templates for Zapier, Make.com, n8n, HubSpot, and Slack.

🛡️ Reliable Developer Tools: Power your workflows with signed HMAC-SHA256 payloads, complete WordPress filters, and automatic retry logs.

automation Improvement

🔌 Charitable Meets Zapier: Connect to 7,000+ Apps and Automate Your Fundraising

Tired of manually copying donation data into accounting sheets or tracking down new donor signups? Put your administrative tasks on autopilot. Charitable is now officially on Zapier, giving you a powerful, no-code way to plug your fundraising directly into the rest of your favorite tools.

Every donation, donor signup, and campaign milestone can now trigger an automated workflow seamlessly.

What’s New:

♾️ Connect to 7,000+ Apps: Bridge your Charitable campaigns with everyday software like Google Sheets, QuickBooks, Slack, Mailchimp, HubSpot, Notion, Airtable, and thousands more.

⚡ 12 Powerful Triggers: Build deep workflows using smart automation triggers covering the entire donation lifecycle—including New Donation, New Donor, Subscription Cancelled, and Campaign Goal Reached.

📋 Pre-Built Action Templates: Get started in three minutes or less with our pre-made template combinations, like automatically logging new donations straight into a Google Sheet or firing custom donor welcome emails through Gmail.

🚫 Zero Code Needed: No complex webhooks or custom PHP scripts required. Just pick your trigger, choose your app, map your fields, and let Zapier handle the heavy lifting.

Ready to save hours of admin time? Grab Charitable Pro with the Automation Connect addon today and launch your first Zap!

Improvement Payments

🚀 Introducing PayPal Commerce: One Connection, Six Ways to Donate

Donors expect modern, flexible payment options when they support a cause. If they don’t see their preferred method on your donation form, they often disappear without a word. With PayPal Commerce, we are bringing a completely modernized checkout experience right to your campaigns.

Enjoy a single integration that upgrades your forms, makes giving seamless, and helps you capture every single donation.

What’s New:

🔌 One-Click Connection: Skip messy API keys and developer docs. Simply click “Connect with PayPal,” sign in to your business account, and your modern form is live in under five minutes.

💳 Six Ways to Give: Give your supporters instant access to PayPal balance, Venmo (US), Pay Later financing, major credit/debit cards, Apple Pay (Safari), and Google Pay (Chrome) all from the exact same form.

🔄 Flexible Recurring Giving: Fully supports monthly giving. Choose between the PayPal Subscriptions API (handled automatically on PayPal’s end) or Vault + Cron (handled securely right on your site).

💬 Friendly Error Recovery: No more confusing browser alerts. If a payment is declined, donors see plain-language, inline messages that guide them on how to fix the issue and complete their gift.

Ready for PayPal, modernized? Update to Charitable Pro 1.8.15+ (or Charitable Lite 1.8.11+) and connect your account today!

Campaigns New

⏳ Campaign Countdown: Drive Urgency and Lift Donations

Urgency is one of the most powerful tools in fundraising! Meet Campaign Countdown—a live, real-time timer built to turn procrastination into immediate generosity.

campaign_countdown_animation

What’s New:

⏱️ Live, Real-Time Urgency: Beautifully track days, hours, minutes, and seconds down to your campaign’s deadline w/ live-updating visual countdowns.

🎨 Tailored to Your Look: Choose between Boxed bordered tiles or a clean, single-line Inline display. Match your theme instantly with font and deep color controls.

🛠️ Place it Anywhere: Drop the countdown anywhere you like using the Campaign Builder field, a dedicated Gutenberg block, or a simple shortcode.

🚨 Smart Expiry Actions: Total control over the end state—choose to automatically replace the timer with a custom message, freeze it at zero, and more.