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

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…

1 … 55 56 57 58 59 … 239