154 Snippets
40+ Favourites
700+ Downloads

Enable Block Editor For Campaigns

Code that will modify the way the Campaign post type is set up to so that…

Change "Your Donation" On Donation Form

On donation forms, the headline "Your Donations" can be changed to any text you want with…

Redirect To Referer After Login

After a user logs in, redirect them back to the page they were on right before…

Add Email Headers

Add headers to Charitable emails (for example CC/BCC headers).

Add Custom Campaign Field

This example shows how you can add a new campaign field to be displayed in Charitable…

Register New Donation Field

Adding a new field (in this example it is a National ID Number). Explains all the…

Add Field To Set Custom Page As Donation Page

Create a new campaign field allowing to select the page where donations are made.

Use Page Template For Campaigns

Instead of using the Post template for campaigns, use the Page template as a fallback.

Custom Receipt Page

Redirect to custom receipt or another page after a donation is completed. Can be per campaign…

Add Multiple Checkboxes To Donation Form

This uses the "multi-checkbox" vs just "checkbox" for a single checkbox.

Make Form Fields Required Not Required

This example shows how to make a form field required or not required.

Add Custom Campaign And Donation Field

In this example, a new email field is added which can be used both in campaign…

1 2 3 4 5 13