Enable Block Editor For Campaigns

Code that will modify the way the Campaign post type is set up to so that…

Add Field To Set Custom Page As Donation Page

Create a new campaign field allowing to select the page where donations are made.

Change Campaign Slug Base

Change the /campaigns/ bit to something else.

Upload font files to media library

Allow the upload of font files (.ttf, .otf, .woff & .woff2) to WordPress media library

WooCommerce Change "$0.00" to "Free"

/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…

WP Simple Pay: Add More Aggressive Rate Limiting

Changes the various default rate limit settings.

Change Fields On Donation Form

Example on how to change labels for fields on donation form.

Remove the link from the current breadcrumb item on a page

This snippet removes the link from the current breadcrumb item on a page.

<10

How to Change the Error Text for Failed Submissions

This code snippet changes the error text that shows to your visitors on failed submissions.

<10

How to Add BCC to Email Notifications (for specific form)

/** * Add BCC recipients to specific form email notifications. * * @link https://wpforms.com/docs/how-to-add-bcc-to-email-notifications/ */ add_filter(…

<10

How to Customize the Labels for Image Choices - Combined effect

form#wpforms-form-1000 .wpforms-field .wpforms-image-choices-item:hover .wpforms-image-choices-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background-color: #f6f6f6; color:…

<10

Dynamically Setting Stripe Payment Description in WPForms

To dynamically set the Stripe payment description, add the following code snippet to your site.

<10

Add Image Alt Text automatic

function add_alt_text_to_images( $html ) { // Check if the image has a title attribute if (…

Add Custom Campaign And Donation Field

In this example, a new email field is added which can be used both in campaign…

Change Postcode To Zipcode

Change the "Postcode" field into a "ZIP Code" field.

1 29 30 31 32 33 196