A plugin that adds a shortcode to embed CanadaHelps donation forms on your WordPress site. With support for URL parameters and automatic language selection, this plugin makes it easy to accept donations from your site visitors.
To specify the French form with an iframe height of 775px, you would use the following attributes:
[chform id=12345 language=fr height=775px]
To specify the modal form with an iframe height of 735px, max-width of 500px, speed of 125 milliseconds, with the button text ‘Donate’ you would use the following attributes:
[chform id=12345 height=735px max-width=500px modal=true speed=125 button-text=’Donate’]
In addition to the shortcode parameters, the form can also be customized using the following URL parameters:
– amount: The donation amount to be pre-filled in the form.
– frequency: The donation frequency to be pre-selected in the form. Can be either ‘one-time’ or ‘monthly’.
– modal: If set to true will open the modal on page load if the shortcode attribute modal is also set to true.
To display a form with the ID 123 in French in a modal window with a pre-filled donation amount of $50 and a pre-selected frequency of monthly:
http://example.com/page-with-form/?amount=50&frequency=monthly&modal=true
The modal
URL parameter allows you to open the form in a modal window on page load. To use this parameter, set its value to true
in the URL.
For example:
http://example.com/page-with-form/?modal=true
Note that this parameter will only have an effect if the modal
attribute in the shortcode is also set to true
. If the modal
shortcode attribute is not set or is set to false
, the form will not be displayed in a modal window regardless of the value of the modal
URL parameter.
If the modal
attribute is set to true
but the modal
URL parameter is set to false
, the form will still be displayed in a modal window when the button is clicked.
If you encounter any issues with the plugin, try the following:
This plugin is provided as-is without any guarantees or warranties. Some information is provided in an effort to clarify and provide relevant information for users who may have trouble using the plugin.
Our plugin relies on a third-party service, CanadaHelps (https://www.canadahelps.org/), for displaying your CanadaHelps forms with our shortcode. By using our plugin, you acknowledge and agree to be bound by the CanadaHelps Terms of Use (https://www.canadahelps.org/en/terms-of-use/) and Privacy Policy (https://www.canadahelps.org/en/privacy-policy/). Please make sure to review these documents before using our plugin.
We are not affiliated with CanadaHelps and are not responsible for their services or any issues that may arise from the use of their services. For any questions or issues related to CanadaHelps, please refer to their website (https://www.canadahelps.org/) or contact them directly.
If you have any questions or concerns about the use of CanadaHelps in our plugin, please do not hesitate to contact us