Open External link to a new tab

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

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;…

WP Simple Pay: Custom Decimal Separator

Changes the decimal separator from a . (period) to a , (comma).

Completely Disable Comments

add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…

<10

On Add to Cart Event in EDD

Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers. This also…

Defining Brevo (Sendinblue) Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

1 59 60 61 62 63 233