Allow WebP Files Upload
The provided PHP code is intended to enable the upload of WebP image files in WordPress…
How to Block Names From Completing Your Form - Simple format
/** * Prevent certain names from the Simple format Name form field. * * @link https://wpforms.com/developers/how-to-block-names-from-completing-your-form/…
Featured Images of the Current User’s All Active Memberships
This code snippet adds the new [membership_thumbnail] shortcode. Adding this shortcode anywhere on the website will…
Add Dynamic Hidden Field
Dynamically set as a hidden field in the donation form, based on the ID of the…
Disable the space key with the special CSS class
This code snippet disables the space key. When a user presses the space key in these…
Add Image Alt Text automatic
function add_alt_text_to_images( $html ) { // Check if the image has a title attribute if (…
Increase the Number of Posts Imported Per Batch from Yoast SEO Plugin
This filter can be used to increase the default number of posts imported per batch from…
Exclude All Posts of a Category from News Sitemap
This snippet can be used to exclude All Posts of a Category from News Sitemap. Note:…
Remove Google Fonts (non-Elementor)
function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );
Add Custom Dynamic Variables
The Total theme allows you to use "Dynamic Variables" in various element text fields such as…
Prevent AlOSEO from outputting any data on term pages
This snippet can be used to prevent AlOSEO from outputting any data on term pages
Add Custom Field From Donation Form On The Receipt Page
This is an example of how to show a field data someone entered in their donation…
VIsual Campaign Builder: Add HTML Tags To Display In The HTML/CODE Block
By design, Charitable allows only certain HTML to be displayed in the HTML/CODE Block of the…
Applying Custom Map Styles to the Map Field
This code snippet will use your custom map style in WPForms Map field.
WPCode Add New Snippet Skip Library Screen
This snippet enables you to skip the snippet library screen when adding a new snippet in…