Releases: snokamedia/chform-shortcode
Snoka Shortcode for CanadaHelps 2.0.1
Version 2.0.1 Release Notes
New Features
- Added animation to modal open and close
- Added shortcode attribute to set animation speed
Changelog
- Added animation to modal open and close
- Added shortcode attribute to set animation speed
- Improved user experience with smoother modal transitions
- Fixed minor bugs in modal function
Snoka Shortcode for CanadaHelps 2.0.0
Version 2.0.0 Release Notes
New Features
- Added the
modal
URL parameter and shortcode attribute to allow the form to be displayed in a modal window on page load. - Added the
max-width
shortcode attribute to allow customization of the form's maximum width. - Added the
button-text
shortcode attribute to allow customization of the button text. - Added functions to sanitize and validate the values of the new shortcode attributes.
- Updated the documentation to reflect the new features.
Full Changelog
- Added
modal
URL parameter and shortcode attribute. - Added
max-width
shortcode attribute. - Added
button-text
shortcode attribute. - Added functions to sanitize and validate shortcode attributes.
- Updated documentation.
Upgrade Notice
In version 2.0.0, we removed the use of the https://www.canadahelps.org/secure/js/cdf_embed.js script and any functions it provided. If your previous implementation relied on any of these functions, you will need to update your code to work without them. Please note that we cannot guarantee compatibility with any custom scripts or functions that relied on the removed script.
We recommend testing your implementation after upgrading to ensure that it is still functioning as expected. If you encounter any issues, you may need to make additional updates to your code to account for the removal of the script and its functions.
We apologize for any inconvenience this may cause. Thank you for your understanding.
Snoka Shortcode for CanadaHelps 1.0.1
Version 1.0.1 Release Notes
Added
- Added an optional attribute to set the height of the iframe.
Usage
[chform id=12345 height="775px"]
height (optional): This attribute allows you to set the height of the CanadaHelps donation form iframe. The default value is "1884px". You can specify a numeric value with a "px", "em", "rem", or "%" suffix.
Snoka Shortcode for CanadaHelps 1.0.0
Version 1.0.0 Release Notes
Features
- Embed CanadaHelps donation forms on your site with a shortcode
- Use URL parameters to customize the donation form
- Automatic language selection based on user's locale
Installation
- Download and unzip the plugin
- Activate the plugin through the 'Plugins' menu in WordPress
- Add the shortcode to the pages you want to display the form, using the following format: [chform id=12345]. Replace "12345" with the page id provided by CanadaHelps.
Shortcode Attributes
- id (required): The page id from the embed code provided by CanadaHelps.
- language (optional): Specify the language of the donation form. Options: "en" for English or "fr" for French. If not specified, the plugin will use wordpress locale to determine the language.
URL Parameters
You can use the following URL parameters to customize the donation form:
- amount: The amount that the user will donate. Must be at least 3 (CanadaHelps' minimum).
- frequency: The frequency of the donation. Currently, the only option is "monthly".
Example
To specify a donation amount of $1000 with a monthly frequency, you would use the following URL parameters:
?amount=1000&frequency=monthly
Troubleshooting
If you encounter any issues with the plugin, try the following:
- Make sure you have entered the correct page id in the shortcode
- Check the CanadaHelps website to ensure that their service is functioning properly
- If the issue persists, try deactivating and reactivating the plugin, or contact us for further assistance
Disclaimer
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