3D Viewer Tracking

document.addEventListener(‘DOMContentLoaded’, function() { const viewerCanvas = document.querySelector(‘.userInput canvas’); if (!viewerCanvas) return; // track when user starts grabbing viewerCanvas.addEventListener(‘mousedown’, function() { if (typeof gtag === ‘function’) { gtag(‘event’, ‘grab_start_3d’, { event_category: ‘Viewer 3D’, event_label: ‘mousedown’ }); } }); // track when…Continue reading

Remover alerta de incompatibilidade do FiboSearch com HPOS

// Compatibilizar FiboSearch com HPOS (WooCommerce) add_action( ‘before_woocommerce_init’, function() { if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( ‘custom_order_tables’, ‘fibosearch/fibosearch.php’, true ); } });Continue reading

Desbloquear HPOS

// ⚠️ Destrava o botão do HPOS mesmo que algum plugin force // Por [email protected] em 30/06/25 // 🔓 Força a liberação do botão de HPOS no WooCommerce, mesmo se plugin estiver forçando add_filter( ‘woocommerce_settings_features_force_enabled’, ‘__return_false’, 99 ); // 🧹…Continue reading

NMDFX Admin bar, Dashboard, Edits & Custom CSS

/* HIDE Monster Icon */ .monsterinsights-quick-links, .monsterinsights-float-right { display: none!important; } #monsterinsights_reports_widget { padding: 50px 0; } #monsterinsights_reports_widget .ui-sortable-handle { display: none!important; } /* Replace plugin logo */ .monsterinsights-logo-area img { content: url(‘https://www.coverings.com/wp-content/uploads/2024/11/Nation-Media-Dashboard-FX.png’); /* Adjust size if needed */ width:…Continue reading

Remove Decimal Points In Suggested (US)

document.addEventListener(‘DOMContentLoaded’, function () { // Select all span elements inside the ul with the class ‘donation-amounts’ const amountSpans = document.querySelectorAll(‘.donation-amounts span.amount’); amountSpans.forEach(span => { // Get the current text content let value = span.textContent; // Find the index of the…Continue reading

Mobile Menü Links aria anpassen

jQuery(document).ready(function() { const items = document.querySelectorAll(‘.mobile-navigation .dt-mobile-menu-icon’); items.forEach(item => { item.setAttribute(‘aria-label’, ‘Menü öffnen’); }); // Ergänzung: MutationObserver für nachträglich eingefügte Menü-Icons const observer = new MutationObserver((mutationsList) => { mutationsList.forEach(mutation => { mutation.addedNodes.forEach(node => { if (node.nodeType === 1) { //…Continue reading