Add a color picker field in Formidable Forms
Install this snippet and add 'frm-color-picker' in the 'CSS Layout Classes' setting for a field.
How to Programmatically Attach a File to Email Notifications
This code snippet uses the wpforms_emails_mailer_get_attachments filter to attach files to email notifications.
Disable Auto-generated Image Sizes
When we upload any media, WordPress automatically generates other extra sizes of it. It may eat…
Set WP Login Url To Charitable Login Page
Always use the Charitable login page as the login.
Change the Default Taxonomy Slug “locations-category”
This filter can be used to change the default taxonomy slug “locations-category”.
Hide Business Info Phone Number from the Front End
This filter can be used to hide business info phone number from the front end.
Remove Gutenberg Blocks Library CSS
Remove Gutenberg Block Library CSS from loading on the frontend
Automatic CSS/JavaScript Cache Busting
Replace the `ver` query arg with the JavaScript/CSS file's last modified timestamp (WordPress CSS/JS Cache Busting)
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 Disable Browser Autocomplete for Form Fields - specific fields
/** * Disable autocomplete for a specific form and field ID * * @link https://wpforms.com/developers/disable-browser-autocomplete-for-form-fields/ */…
MemberPress: Add Membership Titles To the Top of Registration Pages
This code snippet will add a membership title to each MemberPress membership registration page. Titles will…
Custom Receipt Page
Redirect to custom receipt or another page after a donation is completed. Can be per campaign…
Changing sublabels for Email Field on a Single Form
This snippet is used to change sublabel for Email field on a specific form. Be sure…
Set a specific language for Cloudflare Turnstile.
/** * Set a specific language for Cloudflare Turnstile. * * @link https://wpforms.com/developers/how-to-set-the-language-for-cloudflare-turnstile */ function wpf_add_turnstile_language_script()…
Collect National Id Number
Add a field that collects the donor's national ID number, or any other text field.