/library

Charitable Code Snippet library

Primary LanguagePHP

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.

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

Donation receipt

Donations

Emails

Campaigns

Notifications

Login form

Profile form

Registration form

Styles

Export

Payment Gateways: PayPal

Payment Gateways: Offline

Payment Gateways: Stripe

Payment Gateways: PayUMoney

Extensions: Charitable Ambassadors

Campaign Form

Campaigns

My Campaigns Shortcode

Emails

Extensions: Charitable Easy Digital Downloads Connect

Extensions: Charitable Recurring Donations

Themes: Reach

Themes: 3rd Party Themes