Remove Default jQuery
// Remove default WordPress jquery wp_deregister_script( 'jquery' ); //Remove jquery migrate add_action( 'wp_default_scripts', 'remove_jquery_migrate' ); function…
Add Custom Donation Field With Dynamic Value
Add a new donation field to be displayed in Charitable emails related to donations.
WP Simple Pay: Use Custom Field Value as Stripe Payment Description
Use the value of a custom field as the description for the Stripe payment record.
Set Minimum Donation Amount
Set the minimum donation amount required.
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…
MemberPress: Add Address Column to Subscriptions Table
If the Address Fields option is enabled for the MemberPress registration forms at Dashboard > MemberPress…
Calcul distance Cergy
Calcule la distance routière entre Cergy et la ville du client
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…
MemberPress: Add Custom Message Before Payment Methods Section On Registration Pages
This snippet adds a custom message before the section showing available payment methods on MemberPress regisatrtion…