Location: site_wide_header
Untitled Snippet
if (is_product()) { // FAQ Schema $faq = get_field(‘product_faq_schema’); if (!empty($faq)) { $test = json_decode($faq); if ($test !== null) { echo ‘‘; } } // HowTo Schema $howto = get_field(‘product_howto_schema’); if (!empty($howto)) { $test = json_decode($howto); if ($test !== null)…Continue reading
Commercial Lending & Business Funding | Arlo Funding
Commercial Lending & Business Funding | Arlo FundingContinue reading
Order Confirmation Page
/* Simple order confirmation */ .ag-simple-thankyou{ max-width: 800px; margin: 0 auto; padding: 80px 20px; text-align: center; } .ag-simple-thankyou .ag-ty-line{ font-size: 20px; line-height: 1.6; margin: 0 0 12px; color: #111; } .ag-simple-thankyou a{ text-decoration: underline; font-weight: 600; color: inherit; } /*…Continue reading
Address Book.js
jQuery(function($){ const P = window.addressBookParams; if (!P) return; const $modal = $(‘#address_modal’).appendTo(‘body’), $grid = $(‘#address_book_grid’), $form = $(‘#address_form’), $header = $(‘.address-book-header’), $title = $(‘#modal_title’); function refresh(html){ $(‘.address-error-bar’).remove(); $grid.html(html); } function showError(msg){ $(‘.address-error-bar’).remove(); const $bar = $(` ${msg} `); $header.after($bar); }…Continue reading
Custom Checkout.css
.readonly-field { background:#f2f2f2 !important; color:#666 !important; } /* ======================================== CHECKOUT BREADCRUMBS — Exact Styling Fix ======================================== */ .checkout-header h1 { font-size: 24px !important; } .checkout-header { font-size: 14px !important; } body.woocommerce-checkout .checkout-breadcrumb { display: flex; align-items: center; margin-bottom: 2rem; font-size:…Continue reading
Custom Checkout.js
/** * custom-checkout.js (canonical fields + live address refresh) * — Two-step navigation * — Ship-to-different handling via hidden input * — Address book modal (add/edit/delete) with instant UI refresh * — Address book integration on checkout * — Coupon…Continue reading
CSS snipett
/* ===== VCLIP MEDIA CLONE – GLOBAL STYLES ===== */ :root { –primary: #2D5BE3; –primary-dark: #1A48C1; –secondary: #FF6B35; –dark: #1A1A2E; –light: #F8F9FA; –gray: #6C757D; –white: #FFFFFF; –shadow: 0 10px 30px rgba(0, 0, 0, 0.08); –radius: 10px; –transition: all 0.3s ease;…Continue reading
Shop Manager – View Only.js
add_action(‘admin_menu’, function () { $user = wp_get_current_user(); if (!in_array(‘shop_manager_-_view_only’, (array) $user->roles)) { return; } global $menu, $submenu; // Top-level menu whitelist $allowed_top = [ ‘index.php’, // Dashboard ‘woocommerce’, // WooCommerce ‘users.php’, // Users ‘woocommerce-marketing’, // Marketing ]; foreach ($menu as…Continue reading