Search

WooDojo – Inspire Donations

Easily add a donation form, using InspirePay, to your pages via a shortcode, or to your sidebar in a widget.

Using Inspire Donations ↑ Back to Top

Settings

InspirePay URL

Enter your default InspirePay slug here. If your InspirePay URL was https://inspirepay.com/pay/woothemes then you would only enter “woothemes” in this box. You can over-ride this using in both the shortcode and widget.

Donation Amount

Enter the default suggested donation amount here. This is the amount that will default into the amount box unless overridden by the shortcode or widget settings.

Submit Button Text

This setting is the default button text for the donation form. This can also be overridden by the shortcode and widget for specific cases.

Widget ↑ Back to Top

Settings

Title

This is an optional widget title, if left blank not title will be displayed.

Text Above The Form

This setting allows you to display text before the donation form. Leaving this box blank will disable any text above the donation form.

InspirePay URL Slug

This setting allows you to customize the InspirePay slug if you wish to use one other than the default. Leaving this box blank will revert the widget to the default slug.

Donation Amount

This setting allows you to customize the suggested donation amount. Leaving this blank will revert to the default.

“Submit” Button Text

This setting allows you to customize the submit button text. If you want the donation button to say “Donate” then enter it here. Leaving this box blank will revert the widget to the default submit button text.

Text Below The Form

This setting allows you to display text after the donation form. Leaving this box blank will disable any text below the donation form.

Shortcode ↑ Back to Top

Arguments

submit_button_text

This argument will replace the default submit button text. If this argument is not set then the default submit text will be displayed.

inspirepay_url

This argument will replace the default InspirePay URL Slug. If this argument is not set then the default slug will be used.

donation_amount

This argument will replace the default suggested donation amount. If this argument is not set then the default suggested donation will be displayed.

Example Usage

To use the InspirePay Donations shortcode simply add the text [inspirepay_donation] to your page or post. This shortcode will display the form using your default settings, you can optionally enter arguments to customize this specific form instance.

Use all Default Settings

[inspirepay_donation]

Customize Submit Button

[inspirepay_donation submit_button_text="Donate Now!"]

Customize InspirePay Slug

[inspirepay_donation inspirepay_url="woodojo"]

Customize Suggested Donation

[inspirepay_donation donation_amount="7"]

All Options Together

[inspirepay_donation submit_button_text="Donate Now!" inspirepay_url="woodojo" donation_amount="7"]

Back to the top