Change Default Post Type Singular Label “Location”
This filter can be used to change the default post type singular label from “Location” to…
Remove the Article schema from Posts
This snippet removes the Article schema from Posts
Customizing Checkbox and Radio Fields to Look Like Buttons (All Forms)
This code snippet will customize Checkbox and Radio fields to look like buttons for all forms.
Add Custom Campaign Field
This example shows how you can add a new campaign field to be displayed in Charitable…
Display Donation Form
Display a specific campaign's donation form.
Move Fields
Move fields in the Donation Form.
Add a custom field to the checkout screen
Allows one to add a custom field to the checkout screen
Sticky header
/*Sticky header*/ #site-header { position: fixed; top:0; opacity: 0.98; } #main { margin-top: 70px !important; /*…
Change Location Taxonomy Options When its Registered
This filter can be used to change the taxonomy option to ‘hierarchical’
Exclude a Specific Term from the Sitemap
This filter can be used to Exclude a Specific Term from the Sitemap. Note: Replace 412…
Change Twitter Title for a Specific Post
This filter can be used to Change the Twitter Title for a Specific Post. You can…
Dynamically Change the SEO Title of a Specific Term Before the Metadata is Saved
The code snippet below can be used to dynamically change the SEO title of a specific…
Using Conditional Logic to Change Date Picker Locale
This snippet works with the WPML plugin and only apply date picker locale changes when the…
How to Restrict Numbers in a Single Line Text Form Field
/** * Disallow numbers in a single-line text field * * @link https://wpforms.com/developers/how-to-restrict-numbers-in-a-single-line-text-form-field/ */ function wpf_dev_disallow_numbers_text_field(…
How to Disable reCAPTCHA for Automated Testing
/** * Disable for automated testing. * * @link https://wpforms.com/developers/how-to-disable-recaptcha-for-automated-testing/ */ // Disable reCAPTCHA assets and…