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…

Open External link to a new tab

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

Update Donation Summary

Often you might want to change the output of where a donation summary is outputted for…

Donation Form Email Check (Advanced)

If you need to do manual validation of an email when a donation is being submitted…

Remove the LLMS Description for a Specific Post

This snippet removes the description from llms.txt for a specific post ID.

<10

MemberPress: Change the Member’s User Role After Subscription Cancellation

The code automatically changes the member's user role once any subscription is canceled. This will be…

Change City Field To Select

Change the City field in the donation form to a selectable, dropdown field, with several pre-set…

Add Hours Currency

Add a custom currency called "Hours".

1 64 65 66 67 68 219