Google Tag Manager
Google Tag Manager is a tag management system created by Google to manage JavaScript and HTML…
Copy Donation Receipt To Admin
Send the donation receipt to the site admin as well.
Add custom CSS in the Admin
Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…
Remove Unused Javascript
Remove Unused Javascript – and improve your Page Speed Insight Score
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(…
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…
Add Donation Receipt Opt Out Checkbox
In this function we register a new donation field with a key of `receipt_opt_out`. If the…
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…