159 Snippets
40+ Favourites
1.2k Downloads

Add Field To Set Custom Page As Donation Page

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

Change Fields On Donation Form

Example on how to change labels for fields on donation form.

Add Campaign Creator Name Donation Export

In this example, the campaign creator's name is added to the Donations export, so it's easy…

Redirect To Referer After Login

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

Add Dropdown Field To Donation Form

Shows how to add a custom dropdown in a donation form (this example the select field…

Enable Block Editor For Campaigns

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

Change Campaign Slug Base

Change the /campaigns/ bit to something else.

Add Dynamic Hidden Field

Dynamically set as a hidden field in the donation form, based on the ID of the…

Add Field Placeholders

Add placeholder attributes to donation fields, removing the label field.

Add Creator Name

Display the campaign creator's name on the campaign page and in the campaign grid/list.

VIsual Campaign Builder: Add HTML Tags To Display In The HTML/CODE Block

By design, Charitable allows only certain HTML to be displayed in the HTML/CODE Block of the…

Change Country Field To Hidden

Change the Country field in the donation form to a hidden field with a hard-coded default…

1 2 3 4 5 6 14