Number slider validation for single page forms

This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.

<10

Convert Uploaded Images to WebP Format Automatically

Automatically convert uploaded images to WebP format.

om-nextjs.js

import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…

Add Informational Message Below the Username Field in the Login/Register Form #The Greek

This code adds an informational message below the username input field in the login or registration…

Disable default WordPress image sizes

// Disable default WordPress image sizes add_filter('intermediate_image_sizes', '__return_empty_array'); // Disable large scaled image size add_filter('big_image_size_threshold', '__return_false');…

Display the stock availability for all product types in WooCommerce archive pages

Learn how to add Availability label ? in your WooCommerce website. This will help to notify…

MemberPress: Code Blocks Pro - Load All Currently Enqueued Styles In the Courses ReadyLaunch Template

By default, if the ReadyLaunch Courses/Lessons template is enabled, the MemberPress Courses add-on won’t enqueue 3rd-party…

Untitled Snippet

document.addEventListener("click", (e) => { const pill = e.target.closest(".rs-pill"); if (!pill) return; const row = pill.parentElement; row.querySelectorAll(".rs-pill").forEach(p…

FES Registration Form Redirect

Set custom redirect URLs for those who just registered to become vendors.

Body on Scroll

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

1 54 55 56 57 58 224