Remove Default jQuery

// Remove default WordPress jquery wp_deregister_script( 'jquery' ); //Remove jquery migrate add_action( 'wp_default_scripts', 'remove_jquery_migrate' ); function…

Goal Tracking Pixel

This pixel tracks the unit conversions and revenue across all your push campaigns. This helps you…

Keep Username As Display Name

When people update their profile, keep their display name set to be the same as their…

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.

Add Sticky Header - Astra Free

This code has been updated to include adjustments for the off-canvas menu to also be sticky…

Estimated reading time

// Estimated reading time function readTime ( $content = '', $words_per_minute = 250, $with_gutenberg = false…

Show WooCommerce Cart and Checkout on the Same page Free No Plugin

This post outlines the code implementation for creating a streamlined checkout experience by merging the cart…

Disable Posts Post Type

This snippet hides the default Posts post type from the WordPress admin

<10

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=

Cathy White
<10

Customize Amount Raised Text

In this example, we change how the "X donated of Y goal" text appears.

Translate Products

Code required to translate the word "Products".

Let Google place ads for you

Add one piece of code to your site and Google will automatically show ads in all…

user menu for logged in and logged out users

function my_wp_nav_menu_args( $args = '' ) { if( is_user_logged_in() ) { $args['menu'] = 'logged-in'; } else…

Change Login Form Arguments

The 'charitable_login_form_args' filter allows you to set the arguments that are passed to wp_login_form().

1 41 42 43 44 45 216