Dynamic Copyright & Current Year Shortcodes

Add this snippet to the functions.php file in your theme or plugin. Compatible with both classic…

WP Simple Pay: Remove Decimals

Removes trailing decimals on price outputs. Note: Does not affect Stripe Checkout.

Amazon Affiliate Disclosure Bottom

Display an Amazon Affiliate disclosure at the bottom of posts and/or pages.

<10

Change Section Headers

Change the section headers in the donation form.

Template: After Order Actions

This is a template that can be used to hook into the `edd_after_order_actions` hook, allowing developers…

Require Us Phone Number Format

This snippet shows how to alter the phone field so that it only accepts a number…

Change user role for buyers

This is useful if, for example, you want buyers to be able to access dedicated content…

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…

1 40 41 42 43 44 213