Enable Block Editor For Campaigns
Code that will modify the way the Campaign post type is set up to so that…
Redirect To Referer After Login
After a user logs in, redirect them back to the page they were on right before…
Custom Receipt Page
Redirect to custom receipt or another page after a donation is completed. Can be per campaign…
Use Page Template For Campaigns
Instead of using the Post template for campaigns, use the Page template as a fallback.
Register New Donation Field
Adding a new field (in this example it is a National ID Number). Explains all the…
Add Custom Donation Field
Add a new donation field to be displayed in Charitable emails related to donations.
Make Form Fields Required Not Required
This example shows how to make a form field required or not required.
Change "Your Donation" On Donation Form
On donation forms, the headline "Your Donations" can be changed to any text you want with…
Add Field To Set Custom Page As Donation Page
Create a new campaign field allowing to select the page where donations are made.
Add Multiple Checkboxes To Donation Form
This uses the "multi-checkbox" vs just "checkbox" for a single checkbox.