Charitable Documentation

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

Campaigns Shortcode

The [campaigns] shortcode allows you to display a collection of campaigns within your posts or pages.

Parameters

  • number: The number of campaigns to show. Set this to -1 to show all campaigns. Defaults to the number of posts you show on blog pages.
  • orderby: The order in which campaigns are displayed. Options include post_date, popular and ending. As of version 1.4, you can also use any of the options that WP_Query accepts. Defaults to post_date.
  • order: Change the direction in which campaigns are ordered. Accepts DESC or ASC. Defaults to DESC.
  • category: Only show campaigns within certain categories, identified by the category slug. Pass multiple category slugs as a comma separate list to include more than one category.
  • tag: Only show campaigns with certain tags, identified by the tag slug. Pass multiple tag slugs as a comma separated list to include more than one tag. Introduced in Charitable Pro.
  • creator: Only show campaigns created by a certain user. User must have their user ID passed.
  • exclude: Exclude specific campaigns by their ID. Pass multiple IDs as a comma separated list to exclude more than one.
  • include_inactive: Include campaigns that have expired by setting this to 1 or true. Defaults to false.
  • status: Filter campaigns by status. Options include active (only active campaigns), ended (only ended campaigns), or all (all campaigns regardless of status). This parameter takes precedence over include_inactive. Introduced in Charitable Pro.
  • columns: Choose how many columns you want to display the campaigns in. Supports any number between 1 and 4. Defaults to 2.
  • button: Choose whether you want to show a Donate button (the default), a read more link (button="details"), or nothing at all (button="0").
  • id: Show specific campaigns. You can provide a single number or multiple IDs as a comma separated list.
  • parent_campaigns: Only show child campaigns of the specified parent campaign IDs. Pass multiple IDs as a comma separated list. Introduced in Charitable Pro 1.8.5.
  • parent_only: Show only parent campaigns (top-level campaigns with no parent). Set to 1 or true to enable. This parameter takes precedence over parent_campaigns. Introduced in Charitable Pro.
  • description_limit: Limit the number of words displayed from the campaign description. Accepts any positive integer. Defaults to 100. Introduced in Charitable Pro.
  • responsive: Scale campaigns to a single-column layout on smaller screens. Set this to 0 to turn off the responsive behaviour, or specify a custom breakpoint with a px or em value. The default breakpoint is 768px.
  • masonry: Display the campaigns in a masonry layout (like Pinterest). Set this to 1 to enable the masonry layout. Defaults to 0.
  • pagination: Enable or disable pagination for the campaigns list. Set to true to enable pagination, false to disable. Defaults to false. Introduced in Charitable Pro 1.8.6.1.
  • pagination_position: Control where the pagination appears relative to the campaigns list. Options include top, bottom, or both. Defaults to bottom. Introduced in Charitable Pro 1.8.6.1.
  • pagination_prev_next: Control whether to show Previous/Next links in the pagination. Set to true to show these links, false to hide them. Defaults to true. Introduced in Charitable Pro 1.8.6.1.
  • pagination_first_last: Control whether to show First/Last page links in the pagination. Set to true to show these links, false to hide them. Defaults to true. Introduced in Charitable Pro 1.8.6.1.
  • pagination_mid_size: Control how many page numbers to show on each side of the current page. Accepts any positive integer. Defaults to 2. Introduced in Charitable Pro 1.8.6.1.

Usage

Default usage:

[campaigns]

Include expired campaigns:

[campaigns include_inactive=1]

Show 30 campaigns:

[campaigns number=30]

Order campaigns by the amount of money they have raised:

[campaigns orderby=popular]

Order campaigns by how soon they are ending (soonest to end is shown first):

[campaigns orderby=ending]

Only show campaigns within the “environmental issues” category:

[campaigns category=environmental-issues]

Only show campaigns with specific tags:

[campaigns tag=urgent,featured]

Only show campaigns by the user with ID 33:

[campaigns creator=33]

Display campaigns in 3 columns:

[campaigns columns=3]

Show a “read more” link for campaigns:

[campaigns button="details"]

Only display the campaigns with IDs of 33 and 44:

[campaigns id=33,44]

Show only child campaigns of parent campaign with ID 30:

[campaigns parent_campaigns=30]

Show only parent campaigns (top-level campaigns):

[campaigns parent_only=1]

Filter by campaign status (show only active campaigns):

[campaigns status=active]

Filter by campaign status (show only ended campaigns):

[campaigns status=ended]

Limit campaign description to 50 words:

[campaigns description_limit=50]

Turn off responsive styling:

[campaigns responsive=0]

Set a custom breakpoint of 600px for responsive styling:

[campaigns responsive=600px]

Enable pagination (4 campaigns per page):

[campaigns 
    number="4" 
    pagination="true" 
    pagination_position="bottom" 
    pagination_prev_next="true" 
    pagination_first_last="true" 
    pagination_mid_size="2"
]

Extra parameters added by extensions

Ambassadors

If you’re using Charitable Ambassadors version 2.0 or above, there are additional parameters you can use to filter which campaigns are shown:

  • parent: Show only the child campaigns of a specific parent campaign. This is an alias for parent_campaigns when using Charitable Ambassadors. Pass multiple IDs as a comma separated list.
  • fundraiser_type: Show only fundraiser campaigns of a specific type. Options include:
    • individual – Individual fundraisers for existing campaigns.
    • team – Team fundraisers for existing campaigns.
    • team-member – Team member campaigns.
    • fundraiser – Any campaign for an existing campaign or the organization.
    • personal – Any campaign for a personal cause.
  • fundraiser_type_not: Exclude fundraiser campaigns of a specific type. Pass multiple types as a comma separated list. Introduced in Charitable Ambassadors 2.1.0.
  • fundraise_button: If set to false, the Fundraise button will not be shown. Set it to your preferred button text if you would like to show the button. Defaults to false.
  • join_team_button: If set to false, the Join Team button will not be shown. Set it to your preferred button text if you would like to show the button. Defaults to false.

Usage

Show campaigns that are a child of the parent campaign with ID 30:

[campaigns parent=30]

Only show team fundraiser campaigns:

[campaigns fundraiser_type=team]

Only show personal campaigns:

[campaigns fundraiser_type=personal]

Exclude individual fundraisers:

[campaigns fundraiser_type_not=individual]

Show the “Fundraise” and “Join Team” buttons in the campaign grid:

[campaigns fundraise_button="Fundraise" join_team_button="Join Team"]

Geolocation

If you have Campaigns Geolocation installed, you can display campaigns on a Google Map, with some additional parameters:

  • map: Set to 1 or true to display campaigns on a map. Defaults to false.
  • width: Set how wide you want your map to be. This must be passed as a valid CSS width (400px, 100%, etc). Defaults to 100%.
  • height: Set how high you want your map to be. This must be passed as a valid CSS height. Defaults to 500px.
  • zoom: Set the initial zoom level you would like your map to display at. Defaults to auto, with the zoom level based on the pins that have been added to the map.

Usage

Display campaigns on a map width a width of 900px, height of 600px and zoom level set to 5:

[campaigns map=1 width=900px height=600px zoom=5]

Still have questions? We’re here to help!

Last Modified:

What's New In Charitable

🔔 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!

Integration New

👉🏻 New Divi Integration In Charitable Pro

Bring the power of Charitable directly into your favorite page builder and maintain total creative control with our brand-new Divi integration.

The Ultimate Design Experience

No more switching back and forth or relying on complex shortcodes. Use dedicated Divi modules to build, style, and launch high-converting donation pages without ever leaving the Divi Builder.

⚡ Native Divi Modules: Effortlessly drag and drop your donation forms, progress bars, and campaign details exactly where you want them.

⚙️ Visual Customization: Tweak colors, fonts, and spacing using Divi’s familiar design settings to ensure your fundraiser matches your brand perfectly.

🚀 Live Visual Editing: See your changes in real-time. What you see in the builder is exactly what your donors will see, ensuring a seamless giving experience every time.

donation form New

👉🏻 New Campaign Selector For Donation Forms

Take your campaign management to the next level. Find the perfect fundraiser for any page and stay in your creative flow with our new Campaign Selector integration.

The Ultimate Selection Tool

No more hunting for IDs or creating one page for every donation form. Use the new Campaign Selector to allow users to switch to a campaign with no code.

⚡ Instant Search: Quickly find any campaign leaving your page or post.

⚙️ Editor Agnostic: Whether you’re using the Block Editor, Elementor, or WPBakery, selecting your campaigns is now a unified experience.

🚀 Real-Time Previews: See exactly which campaign you’ve selected instantly, ensuring your donors always see the right cause.

Integration New

WordPress Command Palette Integration

Take your fundraising workflow to the next level. Speed up your site management and stay in your creative flow with our new WordPress Command Palette integration.

Supercharge Your Workflow
Navigate your fundraising dashboard faster than ever.

The Ultimate Keyboard Shortcut Hit Cmd + K (or Ctrl + K) to launch the Command Palette and manage your campaigns instantly.

⚡ Instant Navigation: Jump directly to your Campaigns, Donations, or Settings from anywhere in the editor.

➕ Quick Create: Start a new fundraising campaign or add a manual donation with a single command.

Efficiency Redefined
The tools you need, exactly when you need them.

⚙️ Contextual Actions: See relevant Charitable commands based on whether you’re editing a page or viewing your reports.

🚀 Seamless Integration: Built directly into the WordPress core experience for a lightweight, native feel.

Improvement New Security

📣 New Security Features

We’ve introduced a suite of new security tools to give you total control over who accesses your forms, plus a new way to tidy up your database.

Advanced Security Suite

Layered protection: Cloudflare, ReCAPTCHA, IP Controls, and Rate Limiting.

We have overhauled our security settings to stop bots without blocking real donors.

  • 🤖 Flexible Protection: Choose between Google reCAPTCHA v3 or the privacy-first Cloudflare Turnstile to block bots invisible.

  • 🚦 Rate limiting: Stop spam floods by limiting how many submissions an IP address can make in a set timeframe.

  • 🛑 Total control: Use the new IP Blacklist to block bad actors instantly, or the IP Whitelist to let your team bypass checks during testing.

The Clean Donation Tool

Go from “Testing” to “Live” in seconds.

Finished setting up your site and need to get rid of all those test transactions?

  • 🧹 Sweep it clean: Bulk delete test donations and donor records with a single click.

  • 📉 Accurate reporting: Ensure your revenue stats are 100% accurate for launch day.

  • ⚙️ Reset sequences: Automatically resets sequential invoice numbering.

donation form New

🏗️ Visual Donation Form Builder

Building the perfect donation form just got easier. We have completely reimagined how you create forms with a new drag-and-drop interface.

Design Visually, in Real-Time

No coding, no guessing. Just point, click, and build.

Say goodbye to confusing settings pages. You can now edit your form and see exactly what your donors will see, instantly.

  • 🖱️ Drag & Drop: Easily add fields like names, addresses, or file uploads by dragging them exactly where you want them.

  • 🎨 Customize everything: Click any field to tweak labels, placeholders, and requirement settings on the fly.

  • 👁️ Live preview: See your changes immediately as you make them—ensure your form flows perfectly before you hit publish.

Flexible & Powerful

Works with all your existing campaigns.

  • 🧩 Deep customization: Add custom HTML, shortcodes, or CSS classes for advanced branding.

  • ⚙️ Smart fields: Collect exactly what you need with support for dropdowns, checkboxes, dates, and hidden fields.