Protect Elementor Forms

/** * Protect Elementor Forms */ add_action( 'elementor_pro/forms/validation/email', function( $field, $record, $ajax_handler ) { // validate…

Open External link to a new tab

This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…

Emails via two different Postmark streams based on the email subject

WP Mail SMTP plugin does not directly support selecting a specific Postmark message stream based on…

Body on Scroll

;(function ($) { $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 5) { $("body").addClass("scroll-500"); $(".tm-header").removeClass("uk-blend-difference");…

JavaScript for Craft Picker

// Menu Toggle function toggleMenu() { const mobileNav = document.querySelector('.mobile-nav'); mobileNav.classList.toggle('active'); } // Close Menu on…

Custom Payment Icon

Register a custom payment icon to show on the checkout form.

increase max file size

a snippet to increase max file size to allow WP staging pro upload

custom footer chatgpt css

/* Style the footer container */ #custom-footer { background-color: #fff; /* White background */ padding: 1px;…

1 … 61 62 63 64 65 … 239