Skip to content

Charitable/library

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Charitable Code Snippet library

This is a library of code snippets designed to help end users and theme or plugin developers.

How to use the code snippets

If you are new to PHP or WordPress development, we recommend adding these code snippets using the Code Snippets plugin. This allows you to add the code directly within your WordPress dashboard.

For those a little more familiar with WordPress development, you can use the snippets to create simple standalone plugins. Read the WordPress documentation about creating a plugin.

Alternatively, you could add the snippets directly to your theme or child theme's functions.php file.

How to use the custom templates

Customizations shown in the custom templates folder should be added using your theme or child theme. The templates cannot be added using the Code Snippets plugin or a custom plugin.

Each snippet shows where the tempalte should be saved in your template's folder.

Contributing a snippet

We welcome and encourage everyone to submit their code snippets. If you would like to submit your snippet, please fork the repository and then create a pull request.

Directory

General

Editing Forms

Donation form

Registering new fields (examples for charitable 1.5+)

Changing fields & other

City
State
Postcode
Country
Donation Amounts
Terms & Conditions

Admin donation form (manual donations)

Donation receipt

Donations

Emails

General

Donation Receipt

Donation Notification

Campaigns

Campaign Page

Campaign Grid/Loop

Other

Notifications

Users

Login form

Profile form

Registration form

Widgets

Donation Stats

Donors

Styles

Currency

Countries

Privacy

Export

Payment Gateways

PayPal

Offline

Stripe

PayUMoney

PayFast

Extensions:

Charitable Ambassadors

Campaign Form

Adding, changing and removing fields

Other customizations

Fundraiser Form
Campaigns
My Campaigns Shortcode
Emails

Charitable Easy Digital Downloads Connect

Charitable Recurring Donations

Charitable Newsletter Connect

MailChimp

Charitable Stripe Connect

Charitable Authorize.Net

Charitable User Avatar

Charitable Donor Comments

Charitable Anonymous Donations

Charitable Gift Aid

Themes

Reach

Custom Templates

3rd Party Themes

Custom Templates

Donation Form

Theme-Specific

Reach

Charitas

Legacy snippets

Pre Charitable 1.6

Pre Charitable 1.5

Pre Charitable Ambassadors 2.0

About

Charitable Code Snippet library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages