Location: site_wide_header
Mobile Menu Toggle JS
document.addEventListener(“DOMContentLoaded”, function() { const toggles = document.querySelectorAll(“.submenu-toggle”); toggles.forEach(function(toggle) { toggle.addEventListener(“click”, function(e) { const parent = e.target.closest(“li”); parent.classList.toggle(“open”); }); }); });Continue reading
Schema Markup – Local Business (copy)
{ “@context”: “https://schema.org”, “@type”: “LocalBusiness”, “name”: “iCleaning Services California”, “image”: “https://tusitio.com/logo.png”, “url”: “https://icleaningsvc.com”, “telephone”: “+1-XXX-XXX-XXXX”, “address”: { “@type”: “PostalAddress”, “streetAddress”: “Tu Dirección”, “addressLocality”: “Anaheim”, “addressRegion”: “CA”, “postalCode”: “92801”, “addressCountry”: “US” }, “priceRange”: “$$”, “servesCuisine”: “N/A”, “geo”: { “@type”: “GeoCoordinates”, “latitude”:…Continue reading
Schema Markup – Local Business
Untitled Snippet
SureCart Product Template CSS
/* Author: Sumaiya, Clikcup Doc: https://app.clickup.com/36636088/v/dc/12y1dr-22555/12y1dr-25055 */ /* Description: This CSS is added to optimize the Astra container on the SureCart product page */ .ast-container { max-width: 100%!important; padding: 0px !important; } /* Completed */ /* Description: This CSS is…Continue reading
Admin Menu Separator Class
/** * WordPress Admin Menu Separator Class – Updated * * This script targets the specific structure of the admin menu separators * and adds the “bshSeparator” class to the parent container */ (function() { // Function to add classes…Continue reading
Hide Blog Post Title on post
.single-post .entry-title { display: none !important; }Continue reading
Hide Blog Post Titles
add_action(‘wp’, function() { if (is_single() && !is_admin()) { remove_action(‘virtue_page_title_container’, ‘virtue_page_title’, 20); } });Continue reading