Block URLs Inside Text Fields
This snippet will prevent Text and Textarea fields such as Single Line Text and Paragraph text…
Remove Unused Javascript
Remove Unused Javascript – and improve your Page Speed Insight Score
Meta Pixel Code
Add Meta Pixel Code in WPCode
Disable Posts Post Type
This snippet hides the default Posts post type from the WordPress admin
Google Tag Manager Header
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
Customize Amount Raised Text
In this example, we change how the "X donated of Y goal" text appears.
Estimated reading time
// Estimated reading time function readTime ( $content = '', $words_per_minute = 250, $with_gutenberg = false…
Set a Custom Email Header
This snippet sets custom email headers to ensure you can control specific behaviors of your sent…
WP Simple Pay: Facebook Payment Conversion Tracking
Execute a script the first and only time a payment confirmation is viewed.
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…
On Browsing WooCommerce Products
This snippet targets window shoppers and encourages them to add more products to their carts. This…
MemberPress: Set Default Country on Registration Page
This code will help set specified country as default country for the Country field on MemberPress…
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 );
Add custom CSS in the Admin
Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…