Copy Donation Receipt To Admin
Send the donation receipt to the site admin as well.
Add WooCommerce upsells below the add-to-cart button
// add upsells below add-to-cart button add_action( 'woocommerce_single_product_summary', 'woocommerce_upsell_display', 40 );
Google Tag Manager
Google Tag Manager is a tag management system created by Google to manage JavaScript and HTML…
Add custom CSS in the Admin
Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…
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(…
Remove Unused Javascript
Remove Unused Javascript – and improve your Page Speed Insight Score
Meta Pixel Code
Add Meta Pixel Code in WPCode
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…
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 );