Auto-Launches quizz
jQuery( document ).ready(() => { let hash = window.location.hash; let contains_hash = ( hash == ‘#quiz’ ); if ( contains_hash ) { Marquiz.showModal( ’62a10a9ab692e000277a518a’ ); } });Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
jQuery( document ).ready(() => { let hash = window.location.hash; let contains_hash = ( hash == ‘#quiz’ ); if ( contains_hash ) { Marquiz.showModal( ’62a10a9ab692e000277a518a’ ); } });Continue reading
jQuery( document ).ready(() => { let p_element = jQuery( “p:contains(‘At Terra Health Essentials, we believe that prevention is key and are committed to empowering people to take control of their health by educating them about optimal gut function and improving…Continue reading
const removeWCMC = () => { let current_url = window.location.href.toLowerCase(); if ( !current_url.includes( “/checkout” ) ) { return; } let mini_cart = jQuery( “.woocommerce-mini-cart” ); if ( mini_cart.length == 0 ) { return; } let inner_container = mini_cart.closest( “.gm-inner” );…Continue reading
(function(w, d, s, o){ var j = d.createElement(s); j.async = true; j.src = ‘//script.marquiz.io/v2.js’;j.onload = function() { if (document.readyState !== ‘loading’) Marquiz.init(o); else document.addEventListener(“DOMContentLoaded”, function() { Marquiz.init(o); }); }; d.head.insertBefore(j, d.head.firstElementChild); })(window, document, ‘script’, { host: ‘//quiz.marquiz.io’, region: ‘us’, id:…Continue reading
function decodeSerial() { let serial = document.getElementById(“serialNumberInput”).value; let vserial = serial.replace(/\s/g, ”); let vserialtype = “”; let vyear = “”; let vmonth = “”; let vampmonth = “”; let vtype = “”; let vstyle = “”; let vweek = “”;…Continue reading
// This script is designed for use with the Gridbuilder plugin, specifically targeting // the ‘Vendor Archive Card’ and ‘Tall Vendor Card’ card layouts. Its primary function is to // address a limitation within Gridbuilder’s native handling of taxonomy terms…Continue reading
// This script is designed for use with the Gridbuilder plugin, specifically targeting // the ‘Vendor Archive Card’ and ‘Tall Vendor Card’ card layouts. Its primary function is to // address a limitation within Gridbuilder’s native handling of taxonomy terms…Continue reading
document.addEventListener(‘DOMContentLoaded’, (event) => { // Check if there’s a div with the class ‘wpgb-card-wrapper’ and “Sorry, no content found” text const cardWrapper = Array.from(document.querySelectorAll(‘.wpgb-card-wrapper’)).find(div => div.textContent.trim() === “Sorry, no content found.”); // If the div is found, remove the element…Continue reading
// Temporary Fix for GridBuilder and Zeen Theme Compatibility Issue // This script addresses a specific issue where images within GridBuilder cards fail to load // correctly on pages or posts that incorporate Zeen theme styling. This problem is suspected…Continue reading