Add Custom Donation Field With Dynamic Value
Add a new donation field to be displayed in Charitable emails related to donations.
Add Sticky Header - Astra Free
This code has been updated to include adjustments for the off-canvas menu to also be sticky…
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.
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
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…
Code for importing theme files from plugin
Generated by Meta.AI /** * Import an entire folder from a plugin into the WordPress theme.…
WP Simple Pay: Facebook Payment Conversion Tracking
Execute a script the first and only time a payment confirmation is viewed.
Add Read More Link
Add a Read More link to the campaigns in the campaign grid.
Modify the LLMS Description for a Specific Post
This snippet modifies the description shown in llms.txt for a specific post.
Custom Cart Row
Provides a function which can be modified to add a custom row of HTML to the…
Helper functions to make generating WordPress post type labels and taxonomy labels easier
Generate post type and taxonomy labels easily by specifying the singular and plural version of the…
Disable emails on free purchases
If the purchase was for a free product, don't send any emails.