Meta Pixel Code
Add Meta Pixel Code in WPCode
Explicit Fixed Width and Height
Explicit Fixed Width and Height for images
Move Jump to Recipe above featured image in Genesis
/** * Ensures the "Jump to Recipe" button is added above the featured image. */ add_action(…
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…
Add Donation Receipt Opt Out Checkbox
In this function we register a new donation field with a key of `receipt_opt_out`. If the…
On Browsing WooCommerce Products
This snippet targets window shoppers and encourages them to add more products to their carts. This…
Blog filter
Add a filter for blogs
Convert Customers to Users
Adds a tool to create user accounts for customers that don't already have them, and update…
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.…
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/
Change Section Headers Per Campaign
Change the section headers in the donation form.