Charitable Documentation

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

Campaign Selector

The Campaign Selector feature allows donors to choose which campaign receives their donation directly from any donation form, creating a seamless multi-campaign donation experience without requiring page navigation.

Table of Contents

Getting Started

The Campaign Selector transforms your donation forms by adding an intelligent dropdown that lets donors seamlessly switch between active campaigns. When a donor selects a different campaign, the form dynamically updates via AJAX to show the appropriate donation amounts, form fields, and campaign-specific messaging.

Key Benefits

  • Improved donor experience: No need to navigate between campaign pages.
  • Higher conversion rates: Reduces friction in the donation process.
  • Smart campaign management: Automatically excludes ended or fully-funded campaigns.
  • Personalized experience: Remembers donor’s last campaign selection.
  • Universal compatibility: Designed to work with all form types and payment gateways.

Requirements

  • Charitable Pro: Version 1.8.12 or higher
  • WordPress: Version 6.2 or higher
  • PHP: Version 7.4 or higher
  • Multiple active campaigns: At least 2 campaigns for the selector to appear

Enabling the Campaign Selector

  1. In Charitable Pro: Navigate to Charitable Settings → General → Donation Form in your WordPress admin
  2. Scroll to the Campaign Selector section
  3. Check Enable Campaign Selector to activate the feature
  4. Configure your preferences using the options below
  5. Click Save Changes

Configuration Options

Basic Settings

Dropdown Label

  • Default: “Choose a Campaign”
  • Purpose: Text displayed above the campaign selector dropdown
  • Example: “Select the cause you’d like to support”

Tooltip Text

  • Purpose: Helper text displayed when donors hover over the information icon
  • Example: “Choose which campaign should receive your donation”
  • Note: Leave blank to hide the tooltip icon

Display Control

Display Campaign Selector On

Choose where the campaign selector should appear:

  • All Campaigns (Default): Shows selector on every campaign’s donation form
  • Selected Campaigns Only: Limit display to specific campaigns

Selected Campaigns for Display

When “Selected Campaigns Only” is chosen: – Select which campaigns should show the campaign selector – Use Ctrl/Cmd+Click to select multiple campaigns – Only donors viewing these campaigns will see the selector

Note: Ambassador Campaigns

The Campaign Selector may not function as expected with Ambassador campaigns. Native Ambassador campaign support is on the roadmap for this feature.

Dropdown Content

Dropdown Source

Control which campaigns appear in the selector dropdown:

  • All Active Campaigns (Default): Includes all eligible campaigns automatically
  • Selected Campaigns Only: Manually choose which campaigns to include

Selected Campaigns for Dropdown

When “Selected Campaigns Only” is chosen: – Manually select campaigns to include in dropdown – Allows for curated campaign selection – Useful for featuring specific campaigns or causes

Organization Options

Group by Category

  • Purpose: Organizes campaigns by their assigned categories in the dropdown
  • Benefit: Helps donors navigate large numbers of campaigns

Exclude Campaign Types

Fine-tune which campaigns appear by excluding:

  • Ended Campaigns: Campaigns past their end date
  • Fully Funded Campaigns: Campaigns that have reached their goal

Memory & Persistence

Remember Campaign Selection

Control how the selector remembers donor preferences:

  • Remember for 7 Days (Default): Stores selection in browser for one week
  • Remember for This Session: Stores selection until browser/tab is closed
  • Don’t Remember: Always shows default selection

Advanced Features

AJAX Form Loading

The Campaign Selector uses AJAX technology to provide seamless form switching:

  • Instant Updates: Forms load without page refresh
  • Loading Indicators: Visual feedback during form transitions
  • Payment Gateway Compatibility: Automatically reinitializes Stripe, PayPal, and other gateways
  • Form State Preservation: Maintains donor information when possible

Smart Campaign Filtering

The feature automatically filters campaigns based on intelligent criteria:

  • Excludes P2P Campaigns: Ambassador and peer-to-peer campaigns are hidden
  • Date-Based Filtering: Respects campaign start and end dates
  • Goal-Based Filtering: Can exclude fully-funded campaigns
  • Status Checks: Only includes published, active campaigns

Context-Aware Behavior

The selector adapts its behavior based on context:

  • Campaign-Specific Pages: Respects the current campaign context
  • Embedded Forms: Works seamlessly with shortcodes and widgets
  • Modal Forms: Compatible with popup and overlay donation forms
  • Multi-Step Forms: Maintains campaign selection throughout the process

Implementation Examples

Basic Implementation

The campaign selector automatically appears when:

1. Feature is enabled in settings
2. Multiple eligible campaigns exist
3. Current page/form meets display criteria

Customizing the Template

You can override the default template by copying /wp-content/plugins/charitable-pro/templates/donation-form/campaign-selector.php to your active theme’s /charitable/donation-form/ directory.

Useful Functions

// Check if campaign selector should display
if ( charitable_get_option( 'campaign_selector_enabled' ) ) {
    // Custom logic here
}

// Get campaigns that appear in selector
$campaigns = charitable_get_campaign_selector_campaigns();

// Check if current campaign/page should show selector
$should_display = charitable_campaign_selector_should_display( $campaign_id );

Troubleshooting

Campaign Selector Not Appearing

Possible Causes: 

– Feature not enabled in settings

– Only one campaign available

– Current campaign excluded from display settings –

All campaigns ended or fully funded

Solutions: 

1. Verify feature is enabled in settings.

2. Ensure at least 2 eligible campaigns exist

3. Check display settings for current campaign

4. Review campaign exclusion settings

AJAX Loading Issues

Symptoms: 

– Forms don’t update when selecting campaigns

– JavaScript errors in browser console

– Loading indicator doesn’t disappear

Solutions: 

1. Clear browser and plugin caches

2. Disable conflicting JavaScript plugins temporarily

3. Check for theme compatibility issues

4. Verify WordPress and plugin versions meet requirements

Payment Gateway Problems

Symptoms: 

– Payment buttons don’t work after campaign switch

– Stripe/PayPal errors after form update

Solutions: 

1. Ensure payment gateways are configured correctly

2. Check gateway compatibility with AJAX loading

3. Clear payment gateway caches

4. Switch to a non-modal donation form with the selector option off to see if the issue remains.

5. Contact support for gateway-specific issues

Performance Considerations

For sites with many campaigns: 

– Consider using “Selected Campaigns Only” for dropdown source

– Enable category grouping for better organization

– Monitor page load times with large campaign lists

– Consider caching solutions for high-traffic sites

Developer Resources

Hooks and Filters

// Filter available campaigns for selector
add_filter( 'charitable_campaign_selector_campaigns', 'custom_filter_campaigns' );

// Modify selector display conditions
add_filter( 'charitable_campaign_selector_should_display', 'custom_display_logic', 10, 2 );

// Customize AJAX response data
add_filter( 'charitable_campaign_selector_ajax_response', 'custom_ajax_data' );

CSS Customization

Target these classes for custom styling:

/* Main container */
.charitable-campaign-selector {}

/* Dropdown styling */
.charitable-campaign-selector select {}

/* Loading state */
.charitable-campaign-selector.loading {}

/* Tooltip styling */
.charitable-campaign-selector-tooltip {}

For additional support with the Campaign Selector feature, please visit our support documentation or contact our team.

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.