Category: Disable
Stockport Schema – MovingCompany
focus px1
RAVER DOGS – HEADER V2 STYLESHEET
/* ================================================================= RAVER DOGS – HEADER V2 STYLESHEET ================================================================= */ /* — 1. Global & Body Styles — */ body { color: #FFFFFF; font-family: “brandon-grotesque”, sans-serif; font-size: 18px; font-weight: 700; /* Bolder font for menu */ line-height: 1.6; } /*…Continue reading
Mobile Menu Toggle Script
document.addEventListener(‘DOMContentLoaded’, function() { const menuToggle = document.querySelector(‘.menu-toggle’); // Check if the toggle button exists if (menuToggle) { menuToggle.addEventListener(‘click’, function() { // Toggle a class on the element document.body.classList.toggle(‘nav-is-open’); }); } });Continue reading
Removing the Redux Demo Mode Notice
Redux::disable_demo();Continue reading
Disable & Remove Login with GD button
/** Removes the “Login with GoDaddy” SSO Integration. */ add_action( ‘plugins_loaded’, function() { add_filter( ‘wpaas_gd_sso_button_enabled’, ‘__return_false’, 99999999, 1 ); } );Continue reading
Front End—Prevent Mouse Scroll Changing Number Inputs
function preventNumberScroll(e) { if (e.target.matches(‘input[type=”number”]’) || e.target.closest(‘input[type=”number”]’)) { e.preventDefault(); } } document.addEventListener(‘wheel’, preventNumberScroll, { passive: false, capture: true }); document.addEventListener(‘mousewheel’, preventNumberScroll, { passive: false, capture: true }); document.addEventListener(‘DOMMouseScroll’, preventNumberScroll, { passive: false, capture: true });Continue reading
Disable Visual Editor Tab
add_filter( ‘user_can_richedit’, ‘__return_false’, 50 );Continue reading
Specify Query Parameters that Skip SiteGround Speed Optimizer Cache
add_filter( ‘sgo_bypass_query_params’, ‘add_sgo_bypass_query_params’); function add_sgo_bypass_query_params( $bypass_query_params ) { // Add custom query params, that will skip the cache. // Custom Parameters $bypass_query_params[] = ‘condis’; // Can be used to force non-cache for pages with dynamic content $bypass_query_params[] = ‘fname’; //…Continue reading