Add Multiple Checkboxes To Donation Form
This uses the "multi-checkbox" vs just "checkbox" for a single checkbox.
Changing Sublabels for the Email Field
This snippet is used to update the default labels for the Email field when it includes…
Change the No Results Found text in Modern Dropdown
This snippet changes the default no result found text in Dropdown field with Modern style.
How to Customize the Rich Text Field TinyMCE Icons
/** * Customize Rich Text Field TinyMCE buttons for top toolbar. * * @link https://wpforms.com/developers/how-to-customize-the-rich-text-field-tinymce-icons/ */…
Remove the default 'aioseo-' ID prefix added for the Table of Content block
This snippet can be used to remove the default 'aioseo-' ID prefix added for the Table…
How to Set the Language for Google reCAPTCHA
/** * Set the language for Google reCAPTCHA. * * @link https://wpforms.com/developers/how-to-set-the-language-for-google-recaptcha/ */ function wpf_dev_recaptcha_language( $url…
Sticky Posts on Category Pages
Make sticky posts show up first on category pages too.
Add Email Headers
Add headers to Charitable emails (for example CC/BCC headers).
Add Custom Donation Field
Add a new donation field to be displayed in Charitable emails related to donations.
Enable Block Editor For Campaigns
Code that will modify the way the Campaign post type is set up to so that…
Add Field To Set Custom Page As Donation Page
Create a new campaign field allowing to select the page where donations are made.
Change Campaign Slug Base
Change the /campaigns/ bit to something else.
Use Page Template For Campaigns
Instead of using the Post template for campaigns, use the Page template as a fallback.
Upload font files to media library
Allow the upload of font files (.ttf, .otf, .woff & .woff2) to WordPress media library
WooCommerce Change "$0.00" to "Free"
/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…