Use Page Template For Campaigns
Instead of using the Post template for campaigns, use the Page template as a fallback.
Custom Receipt Page
Redirect to custom receipt or another page after a donation is completed. Can be per campaign…
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 Defer the reCAPTCHA Script
/** * Defer the reCAPTCHA script until after the page loads * * @link https://wpforms.com/developers/how-to-defer-the-recaptcha-script/ */…
Change Fields On Donation Form
Example on how to change labels for fields on donation form.
Upload font files to media library
Allow the upload of font files (.ttf, .otf, .woff & .woff2) to WordPress media library
Changing the Name Attribute of a Hidden Field
This code snippet can be used to change the Name attribute of a Hidden field.
Add Campaign Creator Name Donation Export
In this example, the campaign creator's name is added to the Donations export, so it's easy…
Add Dropdown Field To Donation Form
Shows how to add a custom dropdown in a donation form (this example the select field…
Enable Block Editor For Campaigns
Code that will modify the way the Campaign post type is set up to so that…
Redirect To Referer After Login
After a user logs in, redirect them back to the page they were on right before…
WooCommerce Change "$0.00" to "Free"
/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…
Change Campaign Slug Base
Change the /campaigns/ bit to something else.
WP Simple Pay: Add More Aggressive Rate Limiting
Changes the various default rate limit settings.
Prevent AIOSEO From Outputting any Data on Category Archive Pages
Prevent AIOSEO from outputting any data on category archive pages.