Show 'NEW' Badges for Recently Added Items in WooCommerce
This code snippet adds a “NEW!” badge to products in WooCommerce, indicating that they are newly…
Blog filter
Add a filter for blogs
WP Simple Pay: Use Payment Form Description as Payment Description
Always use the payment form's "Description" as the Stripe payment description. By default WP Simple Pay…
Copyright Year Shortcode
Add shortcode to automatically update the copyright year. [year]
Ensure Webfont is Loaded (Elementor)
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Remove the Page Title from the Page Header
The following code can be used to remove the title from the page header title area…
Set a Custom Reply-To Email
This snippet will ensure all emails sent from your site have the same reply-to email address.…
Change Section Headers Per Campaign
Change the section headers in the donation form.
Custom Tab Order For Dashboard
The following code will allow you to change the order that the front end dashboard is…
Add Campaign Status to Campaign Shortcode
This inserts the campaign status ('active', 'successful') to the [campaigns] shortcode. https://www.wpcharitable.com/documentation/the-campaigns-shortcode/
product attributes on hover
a snippet to show product attributes in product archive grid layout
Featured Images of the Current User’s All Active Memberships
This code snippet adds the new [membership_thumbnail] shortcode. Adding this shortcode anywhere on the website will…
Add Email Tag For Donation Field
Add an email tag for an existing donation field.
Email: Change Footer Text
Filter the email footer text & link.
MemberPress: Manually Refresh Member Data
This code snippet is designed to manually refresh all members' data on a WordPress site. After…