Minify HTML
function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…
Add Gateway Donation Field
Enable an email tag for the gateway_label donation field.
Dante Gallery Popup
Dante Gallery Popup
Disable RSS - Feed
Disable RSS - Feed
Adds URL to pages window
add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…
add 2 nos
function addNumbers() { // Get input values const num1 = parseFloat(document.getElementById('num1').value); const num2 = parseFloat(document.getElementById('num2').value); //…
Number slider validation for single page forms
This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.
Conversion Event Snippet
When people click on book now or sign up and redirected to Mindbody for bookings.
Custom Terms Page
Use the custom page for "agree to terms" and link to it instead of opening terms…
WP Simple Pay: Add Customer Phone to Customer Metadata
Adds the "Telephone" customer field value to the Customer record's metadata. This value is normally only…
Donation Form Email Check
If you need to do manual validation of an email when a donation is being submitted…