A lightweight WordPress plugin that:
- Registers a "Donations" Custom Post Type.
- Provides a
[donation_form]shortcode to submit donations.
- Clean, secure PHP code following WordPress coding standards.
- Uses
sanitize_text_fieldandesc_htmlfor security. - Easy to customize and extend.
- Download or clone this repository.
- Copy the folder
wp-simple-donationintowp-content/plugins/. - Activate Simple Donation Plugin from the WordPress admin dashboard.
- Add
[donation_form]shortcode to any page/post.