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:…
Hide Price & Add to Cart for Non Logged in Users for Specific Products
This code snippet allows you to hide the price and 'Add to Cart' button for users…
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 Creator Name
Display the campaign creator's name on the campaign page and in the campaign grid/list.
Remove Gutenberg Block CSS
Remove Gutenberg Block Library CSS from loading on the frontend
New Donation Field Plus Customized Donor Name
This is the full code for a tutorial written on the WP Charitable blog.
Sending Form Fields as Smart Tags to Square
The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…
Admin Bar - Updates
Show updates in Admin Bar
Remove Specific Taxonomy From Public Taxonomies List
This filter can be used to remove the 'genre' taxonomy from the public taxonomies list.