# Site Doctor - Whole-Site WordPress Scan
Source: https://wpmultitool.com/docs/site-doctor/

so header/footer/nav lists are untouched. */ main :where(div, section, article, aside, details, figure, ul, ol, dl, a):has(> :is(p, li, dd, blockquote, .faq-answer, .prose, .feedback-result, .lead-message)) { container-type: inline-size; } main :where(p, li, dd, blockquote) { font-size: var(--font-size-prose); } /* Exceptions: content-sized flex items. Inline-size containment drops an element's intrinsic width to 0, so a flex child with no basis collapses. The check script (claude-tmp/wp-multitool/dev-browser/type-check.ts) flags any container narrower than 60px - add the class here. */ /* UA \`small\` is font-size: smaller (~0.83em) - inside 14px UI text that is 11.7px (the (EN) mark on /pl/). Hold it at the 14px UI floor. */ small { font-size: max(var(--font-size-2xs), 0.833em); } main .founder-text { container-type: normal; } /* must out-rank the :has() rule (0,0,2) */ main :where(li li, li p, dd p, blockquote p) { font-size: inherit; } /* ---- Type + vertical rhythm ------------------------------------------ The reset above zeroes EVERY margin, so spacing only exists where a rule puts it back by hand. Homepage and Pricing got that by hand; the static content pages never did, which is why they render welded together (the "2. Slow Database Queries" heading had a literal margin-top: 0). These defaults put it back ONCE, globally, so a new page is never born smooshed. The \`* + x\` owl selector only adds margin BETWEEN siblings - an element that OPENS a card or section still sits flush, so existing components keep working without having to unset anything. Paragraphs outside

are 16px; inside

the fluid \`main :where(p, ...)\` rule above wins (this one is zero-specificity). \`body\` stays 1rem so UI chrome that inherits is untouched. */ :where(p) { font-size: var(--font-size-body); } * + p { margin-top: var(--space-md); } /* 1rem */ * + h2 { margin-top: var(--space-2xl); } /* 4rem - major topic break */ * + h3 { margin-top: var(--space-xl); } /* 2rem - numbered sections */ * + h4 { margin-top: var(--space-lg); } /* 1.5rem */ /* A heading owns the thing under it - keep that pair tighter than the gap ABOVE the heading. Same specificity as the rules above, so source order decides: these win. h2 is a big heading (24px+) and 8px blended it into its body, so it gets 16px; the smaller h3/h4 still sit tight at 8px. */ h2 + * { margin-top: var(--space-md); } h3 + *, h4 + * { margin-top: var(--space-sm); } /* Noise overlay */ body::before { content: ""; position: fixed; inset: 0; opacity: 0.03; pointer-events: none; z-index: 9999; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); } /* Scanlines */ body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9998; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 2px); opacity: 0.4; } h1, h2, h3 { font-family: var(--font-mono); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; } a { color: var(--accent); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: all var(--transition-med); } a:hover { color: var(--text); text-decoration-color: var(--accent); } a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* H3 inside

should inherit summary styling, not block heading defaults. */ summary > h3 { display: inline; font: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; } /* Body copy line-length cap (50–75ch optimal) - applied to long-form prose only, not hero subhead, not full-width comparison/feature grids. */ .faq-answer, .module-content p { } #features .section-header p, #comparison .section-header p { margin-left: auto; margin-right: auto; } /* Tables shrink to 12-13px at mobile widths across the guide and comparison pages. Give the cells weight there so the smallest text on the site is not also the thinnest. */ @media (max-width: 768px) { td, th { font-weight: 500; } } /* Inline code is sized in em, so it shrinks with whatever it sits inside - nested in small text it reached 10.5px on /autoload-bloat/. Clamp it to the 12px floor and give small text the weight it needs to stay legible. */ code, kbd, samp { font-size: max(0.875rem, 0.875em); font-weight: 500; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { /* 0s, not the usual 0.01ms. A CSS animation whose start time the engine has not resolved yet is in its PENDING state, and Chrome paints the keyframe's \`from\` value for those frames - a duration of 0.01ms cannot suppress that, because the element is styled before the animation engine gets to it. For the homepage \`typing\` reveal (\`.cache-lie\`) that pending frame is \`max-width: 0\`. Measured on the live homepage at 20x CPU throttle: 5/5 loads painted 2 offset frames with 0.01ms, 0/4 with 0s. The 0.01ms idiom exists so \`animationend\` still fires; nothing in this theme listens for it (no animationend/animationstart/transitionend handler and no getAnimations() call in the frontend), so 0s costs us nothing. Do NOT reach for \`animation: none\` here instead: a \`typing\`-revealed element sits at \`max-width: 0; overflow: hidden\` until the \`forwards\` fill runs, so killing the animation strands it clipped unless (like the homepage \`.cache-lie\`) a reduced-motion rule sets the width directly. \`animation-fill-mode: none\` has the same trap. Duration is the only safe global lever. */ animation-duration: 0s !important; /* Collapsing the DURATION alone is not enough - a surviving delay would still leave the element on its unanimated state for that long before the zero-duration fill snaps it to \`to\` (for the homepage \`typing\` reveal that unanimated state is \`max-width: 0\`, i.e. invisible). Zero the delay too. */ animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; } body::before, body::after { display: none; } } /* ───────────────────────────────────────────────────────────────────── PAGE TITLE - shared H1 intro block for standalone marketing/docs pages ───────────────────────────────────────────────────────────────────── */ .page-intro { padding-block: var(--space-3xl) var(--space-2xl); border-bottom: 1px solid var(--border); } .page-title { font-family: var(--font-mono); font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; color: var(--text); margin-block-end: var(--space-sm); text-wrap: balance; } /* The \`/ ""\` alt-text form keeps screen readers from reading the slashes. */ .page-title::before { content: "// " / ""; color: var(--accent); } @media (max-width: 768px) { .page-intro { padding-block: var(--space-2xl) var(--space-xl); } } /* Skip link */ .skip-link { font-weight: 500; position: absolute; top: -40px; left: 0; background: var(--accent, #c8ff00); color: var(--black, #0a0a0a); padding: 0.5rem 1rem; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: var(--font-size-sm); z-index: 10000; text-decoration: none; } .skip-link:focus { top: 0; } /* Header */ header\[role="banner"\] { position: sticky; top: 0; background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border, #2a2a2a); z-index: 100; padding: 1rem 0; } .header-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; } header\[role="banner"\] .logo { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: 1rem; /* fixed: outside there is no size container */ color: var(--text, #e8e8e8); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.02em; } header\[role="banner"\] .logo svg { stroke: var(--accent, #c8ff00); } header\[role="banner"\] .logo-wordmark { display: block; height: 22px; width: auto; } @media (max-width: 880px) { header\[role="banner"\] .logo-wordmark { height: 18px; } } .nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; } .nav-links a { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: var(--font-size-sm); font-weight: 500; color: var(--text-muted, #a8a8a8); text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s ease; } .nav-links a:hover { color: var(--text, #e8e8e8); } /* Current page: light the matching nav link in the accent, and keep it lit on hover. */ .nav-links a\[aria-current="page"\], .nav-links a\[aria-current="page"\]:hover { color: var(--accent, #c8ff00); } .nav-links .btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1.5rem; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: var(--font-size-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; background: var(--accent, #c8ff00); color: var(--black, #0a0a0a); border: none; cursor: pointer; min-height: 44px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .nav-links .btn-primary:hover { background: var(--text, #e8e8e8); color: var(--black, #0a0a0a); transform: translateY(-1px); } /* Header CTA - filled, and the one dominant action in the nav. It was ghosted originally so the free scan could dominate instead (LP audit gh #3); /scan/ left the nav on 2026-07-24, so "Buy Now" inherits that role. Hover inverts to the outlined treatment. */ .nav-links .btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1.5rem; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: var(--font-size-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; background: var(--accent, #c8ff00); color: var(--black, #0a0a0a); border: 1px solid var(--accent, #c8ff00); cursor: pointer; min-height: 44px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .nav-links .btn-secondary:hover { background: transparent; color: var(--accent, #c8ff00); transform: translateY(-1px); } /* Hamburger toggle + mobile CTA: hidden on desktop */ .header-nav .nav-toggle, .header-nav .nav-cta-mobile { display: none; } /* Collapse to logo + Buy Now + hamburger wherever the full nav does not fit on one line: it needs ~830px, overflowed the page at 641-700px and wrapped the header to two rows at 768px. Same 1.5rem gutter as .container so the logo lines up with page content. */ @media (max-width: 880px) { .header-nav { padding-inline: 1.5rem; gap: 0.5rem; flex-wrap: nowrap; } .header-nav .nav-cta-mobile { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; min-height: 40px; /* The long-form templates stretch every .btn to 100% below 600px; this one is a .btn too and squeezed the logo onto two lines. */ width: auto; max-width: none; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: var(--font-size-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; background: var(--accent, #c8ff00); color: var(--black, #0a0a0a); border: none; margin-left: auto; } /* Ghost variant of the mobile CTA (LP audit gh #3 - demote "Buy Now"). */ .header-nav .nav-cta-mobile.btn-secondary { background: transparent; color: var(--accent, #c8ff00); border: 1px solid var(--accent, #c8ff00); } .header-nav .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--border, #2a2a2a); cursor: pointer; } .nav-toggle-bar { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--text, #e8e8e8); transition: transform 0.2s ease, opacity 0.2s ease; } .nav-toggle\[aria-expanded="true"\] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); } .nav-toggle\[aria-expanded="true"\] .nav-toggle-bar:nth-child(2) { opacity: 0; } .nav-toggle\[aria-expanded="true"\] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); } .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1rem 1rem; background: rgba(10, 10, 10, 0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border, #2a2a2a); } .nav-links.is-open { display: flex; } .nav-links li { width: 100%; } .nav-links a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 14px 8px; font-size: var(--font-size-md); border-bottom: 1px solid var(--border, #2a2a2a); } .nav-links li:last-child a { border-bottom: none; } /* Hide the duplicate Buy Now inside the drawer on mobile */ .nav-cta-desktop-item { display: none; } header\[role="banner"\] { position: sticky; } } /* ───────────────────────────────────────────────────────────────────── DOCS SHARED STYLES ───────────────────────────────────────────────────────────────────── */ /* Anchor scroll offset for sticky header */ /* The sticky header is ~77px tall, so anything linked by fragment has to clear it. Section headings already did; the per-step ids and the skip-link target did not, which put a deep link from the HowTo schema behind the header. */ main section\[id\], main .steps-list li\[id\], #main { scroll-margin-top: 5rem; } /* Page Header - wrapper and h1 live in page-title-styles.php (.page-intro/.page-title) */ .page-header p { color: var(--text-muted); font-size: var(--font-size-lg); } /* Doc Header (module pages) - composite header (breadcrumb, badges, H1, doc-nav), so it keeps its own tighter bottom spacing instead of .page-intro's. The H1 itself is the shared .page-title (page-title-styles.php). */ .doc-header { padding: var(--space-3xl) 0 var(--space-xl); border-bottom: 1px solid var(--border); } .doc-header .one-liner { color: var(--text-muted); font-size: var(--font-size-xl); } /* Doc Badges */ .doc-badges { display: flex; gap: var(--space-sm); margin-bottom: var(--space-md); } .badge { display: inline-block; padding: 2px 8px; font-family: var(--font-mono); font-size: var(--font-size-2xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--border); } .badge-optimization { background: #1e3a8a; color: #93c5fd; border-color: #2563eb; } .badge-control { background: #4c1d95; color: #d8b4fe; border-color: #7c3aed; } .badge-lite { background: var(--surface); color: var(--text-dim); border-color: var(--border); } .badge-pro { background: var(--accent); color: var(--black); border-color: var(--accent); } /* Entries that apply to every install. */ .badge-all { background: var(--surface); color: var(--accent); border-color: var(--accent); } .badge-guide { background: #134e4a; color: #99f6e4; border-color: #0d9488; } /* Jumpstart: a standalone product, so its docs badge keeps the accent without borrowing the Pro edition's meaning. */ .badge-jumpstart { background: var(--accent); color: var(--black); border-color: var(--accent); } /* Documentation screenshots */ .doc-shot { margin: var(--space-md) 0 var(--space-sm); } .doc-shot a { display: block; line-height: 0; } /* Screenshots scale down to ~260px on a phone, where a wp-admin capture is unreadable. The link to the full-size file needs a cue that survives touch, so this is always visible rather than hover-only. */ .doc-shot a.doc-shot-zoom { position: relative; /* Shrink-wrap the image so the cue sits on it, not far off to the right when the screenshot is narrower than the column. */ display: inline-block; max-width: 100%; } .doc-shot-cue { position: absolute; top: 0; right: 0; padding: 4px 8px; background: var(--black); color: var(--accent); border: 1px solid var(--accent); font-family: var(--font-mono); font-size: var(--font-size-2xs); font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.05em; } .doc-shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--border); background: var(--surface); transition: border-color 0.2s; } .doc-shot a:hover img, .doc-shot a:focus-visible img { border-color: var(--accent); } .doc-shot figcaption { margin-top: var(--space-xs, 0.5rem); font-family: var(--font-mono); font-size: var(--font-size-2xs); color: var(--text-dim); } /* On-page Nav */ .doc-nav { display: flex; gap: var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .doc-nav::-webkit-scrollbar { display: none; } .doc-nav a { font-family: var(--font-mono); font-size: var(--font-size-xs); color: var(--text-muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; padding: var(--space-xs) 0; transition: color var(--transition-med); } .doc-nav a:hover { color: var(--accent); } /* Main Content */ main { padding: var(--space-2xl) 0 var(--space-3xl); } main section { margin-bottom: var(--space-2xl); } main h2 { font-family: var(--font-mono); font-size: var(--font-size-2xl); font-weight: 600; margin-bottom: var(--space-lg); color: var(--text); } main h2::before { content: "$ "; color: var(--accent); } main p { color: var(--text-muted); line-height: 1.7; } /* Module Grid (hub page) */ .module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); } .module-card { display: block; background: var(--surface); border: 1px solid var(--border); padding: var(--space-lg); text-decoration: none; transition: border-color var(--transition-med), transform var(--transition-fast); } .module-card:hover { border-color: var(--accent); transform: translateY(-2px); } .module-card-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); } .module-card h3 { font-family: var(--font-mono); font-size: var(--font-size-body); font-weight: 600; color: var(--text); margin-bottom: var(--space-xs); } .module-card-header h3 { margin: 0; } .module-card p { font-size: var(--font-size-prose); font-weight: 500; color: var(--text-muted); line-height: 1.5; margin: 0; } /* Getting Started / Steps List */ .getting-started ol, .steps-list { list-style: none; counter-reset: step; padding: 0; margin: 0; } .getting-started ol li, .steps-list li { counter-increment: step; padding: var(--space-md) 0 var(--space-md) var(--space-2xl); border-bottom: 1px solid var(--border); position: relative; font-size: var(--font-size-prose); color: var(--text-muted); } .getting-started ol li:last-child, .steps-list li:last-child { border-bottom: none; } .getting-started ol li::before, .steps-list li::before { content: counter(step); position: absolute; left: 0; top: var(--space-md); font-family: var(--font-mono); font-size: var(--font-size-md); font-weight: 700; color: var(--accent); width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border: 1px solid var(--accent); } .steps-list li strong { display: block; font-family: var(--font-mono); font-size: var(--font-size-md); color: var(--text); margin-bottom: var(--space-xs); } .steps-list li p { margin: 0; font-size: var(--font-size-prose); } .steps-list li p + p, .faq-item p + p { margin-block-start: var(--space-sm); } /* Paths and filenames marked with \`backticks\` in docs-data. Long paths must wrap on a phone instead of pushing the page sideways. */ #main p code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-elevated); padding: 1px 5px; color: var(--text); overflow-wrap: anywhere; } /* Jump links under the intro of a task guide. */ .doc-quick-links { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); padding: 0; margin: var(--space-md) 0 0; font-family: var(--font-mono); font-size: var(--font-size-md); } .doc-quick-links a { display: inline-block; padding-block: 0.5rem; color: var(--accent); } .doc-quick-links a::before { content: "\\2192\\00a0"; } /* Feature List */ .feature-list { list-style: none; padding: 0; margin: 0; } .feature-list li { padding: var(--space-sm) 0; padding-left: var(--space-lg); border-bottom: 1px solid var(--border); font-size: var(--font-size-prose); color: var(--text-muted); position: relative; } .feature-list li:last-child { border-bottom: none; } .feature-list li::before { content: ""; position: absolute; left: 0; top: 0.75rem; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); } /* Settings Table */ .settings-table { width: 100%; border-collapse: collapse; font-size: var(--font-size-md); } .settings-table th { font-family: var(--font-mono); font-size: var(--font-size-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); text-align: left; padding: var(--space-sm) var(--space-md); border-bottom: 2px solid var(--border); } .settings-table td { padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--border); color: var(--text-muted); /* Setting descriptions name filters and constants - single unbreakable tokens that push the table, and the whole page, sideways on a phone. */ overflow-wrap: anywhere; } .settings-table code { font-family: var(--font-mono); font-size: var(--font-size-sm); background: var(--surface-elevated); padding: 1px 5px; color: var(--accent); } /* FAQ Items */ .faq-item { border-bottom: 1px solid var(--border); } .faq-item summary { font-family: var(--font-mono); font-size: var(--font-size-body); font-weight: 600; color: var(--text); padding: var(--space-md) 0; cursor: pointer; list-style: none; position: relative; padding-right: var(--space-xl); } .faq-item summary::-webkit-details-marker { display: none; } /* The accordions and the on-page nav are keyboard targets, so give them the site's own focus ring instead of leaving them on the browser default. */ .faq-item summary:focus-visible, .doc-nav a:focus-visible, .doc-shot-zoom:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .faq-item summary::after { content: "+"; position: absolute; right: 0; top: var(--space-md); font-family: var(--font-mono); font-size: var(--font-size-lg); color: var(--accent); transition: transform var(--transition-fast); } .faq-item\[open\] summary::after { content: "−"; } .faq-item p { padding: 0 0 var(--space-md); font-size: var(--font-size-prose); color: var(--text-muted); line-height: 1.7; /* Answers quote CLI commands and filesystem paths, which are single unbreakable tokens - without this they push the whole page sideways on a phone. */ overflow-wrap: anywhere; } /* Related Grid */ .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); } /* Video Section */ .video-section { margin-bottom: var(--space-2xl); } .video-facade { position: relative; aspect-ratio: 16/9; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; cursor: pointer; max-width: 900px; margin: var(--space-lg) auto; background: var(--black); } .video-facade img { width: 100%; height: 100%; object-fit: cover; } .video-facade__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,10,10,0.5); border: none; cursor: pointer; transition: background var(--transition-fast); } .video-facade:hover .video-facade__play { background: rgba(10,10,10,0.3); } .video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; } .video-more { text-align: center; margin-top: var(--space-md); } .video-more a { font-family: var(--font-mono); font-size: var(--font-size-sm); font-weight: 500; } /* CTA Section */ .cta-section { margin-top: var(--space-3xl); padding: var(--space-2xl); background: var(--surface); border: 1px solid var(--border); text-align: center; } .cta-section h2 { font-family: var(--font-mono); font-size: var(--font-size-2xl); color: var(--text); margin-bottom: var(--space-sm); } .cta-section h2::before { content: none; } .cta-section p { color: var(--text-muted); margin-bottom: var(--space-xl); margin-left: auto; margin-right: auto; } /* Responsive */ @media (max-width: 768px) { .doc-header { padding: var(--space-2xl) 0 var(--space-lg); } main { padding: var(--space-xl) 0 var(--space-2xl); } .module-grid { grid-template-columns: 1fr; } .related-grid { grid-template-columns: 1fr; } .doc-nav { gap: var(--space-sm); } .settings-table { font-size: var(--font-size-sm); } .settings-table th, .settings-table td { padding: var(--space-xs) var(--space-sm); } /* Phones: give step text the width back and read it at body size. */ .getting-started ol li, .steps-list li { padding-inline-start: 2.25rem; } .steps-list li p { font-size: var(--font-size-prose); line-height: 1.7; } .doc-nav a { padding-block: 0.75rem; } } /* 44px tap target for the page's one call to action. */ .cta-section .btn-primary { min-height: 44px; display: inline-flex; align-items: center; } /* Footer - organized column grid (Concept A) */ footer { background: var(--black); border-top: 1px solid var(--border); padding: var(--space-3xl) 0 var(--space-xl); font-size: var(--font-size-md); color: var(--text-muted); } .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: var(--space-2xl) var(--space-xl); align-items: start; } /* Brand column */ .footer-logo { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.03em; font-size: var(--font-size-lg); color: var(--text); text-decoration: none; margin-bottom: var(--space-md); } .footer-logo svg { flex-shrink: 0; } .footer-logo .logo-wordmark { display: block; height: 22px; width: auto; } .footer-brand p { font-weight: 500; color: var(--text-muted); font-size: 1rem; /* fixed: no size container outside , fluid would hit the 21px cap */ max-width: 34ch; line-height: 1.6; margin-bottom: var(--space-lg); } .footer-social { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); } .footer-social a { font-weight: 500; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--border); transition: color var(--transition-med), border-color var(--transition-med), transform var(--transition-fast); } .footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); } .footer-social a:focus-visible { color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; } .footer-brand .trustpilot-widget { max-width: 260px; } /* Link columns */ .footer-col h3 { font-family: var(--font-mono); font-size: var(--font-size-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--border); } .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; padding: 0; margin: 0; } footer a { font-family: var(--font-mono); font-size: var(--font-size-sm); color: var(--text-muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; transition: color var(--transition-med); } footer a:hover { color: var(--accent); } /* Long compound link labels (e.g. the de refund-policy word) must wrap or they overflow the page at 320px. */ .footer-col li { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; } .footer-col a { display: inline-block; font-weight: 500; } .footer-col a:focus-visible { color: var(--accent); outline: none; text-decoration: underline; text-underline-offset: 3px; } /* Badge marquee */ .badge-marquee { overflow: hidden; margin: var(--space-2xl) 0 var(--space-lg); mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); } .badge-marquee-track { display: flex; gap: var(--space-xl); width: max-content; animation: marquee 40s linear infinite; } .badge-marquee:hover .badge-marquee-track { animation-play-state: paused; } .badge-marquee-track a { display: flex; align-items: center; flex-shrink: 0; opacity: 0.6; transition: opacity var(--transition-med); } .badge-marquee-track a:hover { opacity: 1; } .badge-marquee-track img { display: block; height: 34px; width: auto; } /* For directories that only publish black-on-transparent artwork, which would otherwise be invisible against this footer. Opt-in per badge - never blanket, because inverting a badge that already reads correctly wrecks its colours. */ .badge-marquee-track img.badge--invert { filter: invert(1); } /* A badge that ships with a companion text link under it (Launch Llama). */ .badge-marquee-track .badge-stack { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; } /* Text, unlike the badge images, must stay readable: full opacity (the 0.6 above composited #888 down to #565656, 2.69:1) and a 24px tap target. */ .badge-marquee-track a.badge-companion { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; opacity: 1; font-family: var(--font-mono); font-size: var(--font-size-2xs); font-weight: 500; line-height: 1; color: var(--text-dim); text-decoration: none; } .badge-marquee-track a.badge-companion:hover, .badge-marquee-track a.badge-companion:focus-visible { color: var(--accent); } @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } /* Bottom bar */ .footer-bottom p, .footer-bottom span { font-weight: 500; } .footer-bottom { font-weight: 500; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-md); border-top: 1px solid var(--border); padding-top: var(--space-lg); margin-top: var(--space-md); } footer p { font-family: var(--font-mono); font-size: var(--font-size-xs); color: var(--text-muted); letter-spacing: 0.02em; margin: 0; } /* The built-by row groups the outbound author links so space-between on .footer-bottom keeps them adjacent instead of spreading them apart. */ .footer-built-by { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); } .built-by-badge { font-weight: 500; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-family: var(--font-mono); font-size: var(--font-size-xs); color: var(--text-dim); text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; transition: color var(--transition-med); } .built-by-badge:hover { color: var(--accent); } .built-by-badge svg { opacity: 0.7; transition: opacity var(--transition-med); } .built-by-badge:hover svg { opacity: 1; } @media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } } @media (max-width: 560px) { .footer-bottom { flex-direction: column; align-items: flex-start; } } .btn-primary { display: inline-block; background: var(--accent); color: var(--black); padding: var(--space-sm) var(--space-xl); font-family: var(--font-mono); font-size: var(--font-size-md); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(200, 255, 0, 0.3); } .doc-breadcrumb { margin-bottom: var(--space-sm, 0.75rem); font-size: var(--font-size-md); } .doc-breadcrumb a { color: var(--text-muted, #888); text-decoration: none; } .doc-breadcrumb a:hover { color: var(--accent, #c8ff00); } Skip to main content OPTIMIZATION LITE Site Doctor One button that scans the whole site - configuration, 21 Redis object-cache checks, a page-cache probe, database bloat and Action Scheduler junk in every install, plus autoload burden and captured slow queries where the Pro modules that produce them are installed - and ranks every finding worst-first, each linked to the module that fixes it. What It Does Site Doctor answers "where do I start" in one click. Press "Find what's slow" and it runs its own configuration checks alongside the measurements the other modules already own - database bloat and Action Scheduler junk in every install, plus autoload burden and captured slow queries where the Autoloader Optimizer and Slow Query Analyzer are installed, which are Pro modules - then ranks everything worst-first so you are not guessing which module to open. Every finding explains why it matters and links straight to the module that owns the fix. Sources that were not available are named in the results, so a short list is never mistaken for a clean site. New installs land on this page after activation. For what Site Doctor is and who it is for, see [wpmultitool.com/site-doctor/](https://wpmultitool.com/site-doctor/). The configuration checks verify that OPcache is enabled and healthy (hit rate, OOM restarts, key table), that an object-cache drop-in is actually engaged (a drop-in pointing at a dead Redis backend is flagged critical), that your homepage is served from a page cache (via a loopback HTTP probe), whether LiteSpeed Cache is active, and whether any enabled WooCommerce payment gateway is stuck in test/sandbox mode. Where an object cache is missing it recommends a specific one for your server - including SQLite Object Cache on shared hosting, where Redis usually is not available - rather than a generic "add Redis", and if a suitable plugin is already installed it tells you to enable that one instead of installing another. Since version 1.7.0 it also carries 21 Redis object-cache checks that read the server's running configuration instead of inferring health from a successful connect. Each finding gets a severity (ok/info/warn/critical) and a guided fix with the exact values to set. The scan itself is read-only, runs only on demand, and everything runs locally on your server. Changing anything is a separate, explicit action: Safe optimize applies the fixed set of always-safe fixes in one click - expired transients and old completed Action Scheduler rows in every install, plus autoload leftovers from inactive plugins where the Pro Autoloader Optimizer is installed. Every applied step is journaled, and the reversible ones can be undone. Features Whole-site scan in one pass: configuration checks plus database bloat and Action Scheduler junk in every install, and autoload burden and captured slow queries where the Pro modules that produce them are installed, all ranked worst-first Every finding explains why it matters and links to the module that owns the fix Sources that were skipped are named, so a short list of findings is never mistaken for a clean site Configuration checks cover OPcache health, object-cache drop-in status, page cache (loopback probe), LiteSpeed Cache detection, and WooCommerce payment gateway test-mode detection Object-cache recommendation is specific to your server - SQLite Object Cache on shared hosting where Redis is not available, rather than a blanket "add Redis" - and tells you to enable a suitable plugin you already have installed instead of installing a second one Read-only scan by design - findings never change anything; fixes are guided remediation, plus the explicit Safe optimize action for the always-safe set Never runs on page load - only on an explicit "Find what's slow" click or via WP-CLI (wp multitool quickstart for the whole-site ranked list, wp multitool doctor for Site Doctor's own checks) OPcache analysis: distinguishes genuinely disabled OPcache from hosts that restrict the status API (Kinsta/WP Engine style opcache.restrict_api), checks hit rate, OOM restarts, and key table saturation Flags object-cache.php present but not engaged (dead Redis backend) as critical - the failure that page-load checks never surface Vendor detection for the object-cache drop-in (Redis Object Cache, Memcached) from its file signature 21 Redis object-cache checks (added in 1.7.0) that talk to the server and read its running configuration - almost every Redis check in the WordPress ecosystem only asks whether the connection succeeded, a test that cannot fail the ways Redis actually fails Catches maxmemory-policy noeviction under a memory ceiling: once full, Redis rejects every write, so WordPress runs the query anyway and pays a round-trip on top - or the drop-in throws and the site returns HTTP 500 Catches eviction thrashing, measured as a delta between two scans because evicted_keys is cumulative since the server booted - the first scan records a baseline and says so Catches a shared keyspace with no prefix, where a cache hit can return another site's data, plus salts too generic to isolate anything Catches load-bearing cache groups on the ignore list - options above all, which carries alloptions - so Redis is connected and paid for on every request while caching none of what would repay it Catches missing global groups on multisite, where keys get a per-blog prefix and one site can read another site's users and settings Catches round-trip latency that outweighs the database work saved: a WordPress page issues on the order of a hundred cache lookups, so latency is multiplied before anything is gained. It reports the cost and stops short of a verdict - whether the cache is still worth keeping is an A/B on your own templates Also checks replica role, persistence failures and fork stalls, connection churn, flush storms, memory fragmentation, hit rate, and the autoload blob against the ~1MB per-value ceiling Read-only and on demand only, never on a normal page load: it uses INFO, CONFIG GET, DBSIZE and one bounded SCAN, and never KEYS, which would block the server for the length of the whole keyspace Where a host blocks CONFIG GET (Kinsta, WP Engine and Cloudways among them) the affected checks report "cannot verify this here" and never "ok" - no data is not the same as no problem. Cluster and Sentinel are detected and skipped rather than described from one node The eviction-rate baseline is stored in a non-autoloaded option, not a transient: a transient would live in the very Redis being measured and be evicted by the thrashing it exists to detect Sites not using Redis get no Redis findings at all, rather than a list of "not applicable" rows Loopback cache probe reads real cache headers (x-litespeed-cache, cf-cache-status, x-cache, Age, x-varnish, x-kinsta-cache) and distinguishes HIT, MISS, and origin-rendered responses Probe falls back to localhost with a Host header for split-horizon DNS and Docker environments; reports "probe not possible" instead of guessing WooCommerce gateway check covers Stripe, PayPal, Przelewy24, PayU, Mollie, Square, Braintree, Authorize.net, and more - flags enabled gateways still in test/sandbox mode where real customers cannot pay Non-production host detection (.loc, .test, staging.* subdomains, localhost) automatically downgrades severities - a dev clone without a page cache is normal, not critical Guided fixes include exact php.ini values, computed for your server (e.g. suggested opcache.memory_consumption and max_accelerated_files) Scan result cached for 5 minutes in a transient - the loopback probe only runs during a scan Severity summary pills (critical/warning/info/ok) at the top of the results CLI: wp multitool quickstart for the ranked whole-site scan (same as the admin button), wp multitool doctor for Site Doctor's own checks, and wp multitool redis \[--force\] \[--format=json\] for the full object-cache report How to Use **Open Site Doctor** Go to WP Multitool > Site Doctor - new installs land here after activation. The page shows the last cached scan if one exists; it never triggers a scan just by loading. **Run a scan** Click "Find what's slow". The module runs its configuration checks, the Redis object-cache checks where Redis is in use, and a loopback HTTP probe of your homepage, then pulls in database bloat and Action Scheduler junk, plus autoload burden and captured slow queries if the Pro modules that produce them are installed. Results stream back and take a few seconds. **Start at the top** Findings are ranked worst-first, each as a card with a severity badge, an explanation of why it matters, and the raw data (hit rates, cache headers, Redis policy and memory figures, gateway names). Skipped sources are named, so a short list is not a clean bill of health. **Apply the guided fixes** Each non-ok finding includes a concrete fix - exact php.ini directives, the redis.conf line to persist, the WP_REDIS_* constant to set, or the module that owns the problem. The only changes Site Doctor makes itself are the ones in the Safe optimize action, and only when you click it. **Re-scan to verify** After fixing, click "Find what's slow" again (the button always forces a fresh scan, bypassing the 5-minute cache) to confirm the finding turned green. The Redis eviction rate needs two scans a minute or more apart, because the underlying counter is cumulative - the first run only records a baseline. FAQ Does Site Doctor change anything on my site? Not by scanning. The scan is read-only - it never edits configuration, files, or the database. Every fix is guided: the module tells you exactly what to change and where. The one exception is the explicit Safe optimize button, which applies a fixed set of always-safe fixes you trigger yourself - expired transients, completed Action Scheduler rows, and autoload leftovers where the Pro Autoloader Optimizer is installed. Does the scan slow down my site? No. The scan only runs when you explicitly click "Find what's slow" (or run wp multitool quickstart / wp multitool doctor via WP-CLI). The only network activity is the loopback probe of your own homepage - up to three requests when localhost fallbacks are needed - and the result is cached for 5 minutes. Why does the page cache check say "loopback self-probe not possible"? Some hosts block servers from making HTTP requests to themselves (loopback blocks or split-horizon DNS). Site Doctor tries a localhost fallback with a Host header, but if that also fails it reports "probe not possible" instead of guessing. Check the cache header from an external request instead. What does the WooCommerce gateway check actually catch? Enabled payment gateways that are still in test/sandbox mode. On a live shop that means real customers cannot pay. It checks the common flag styles (testmode, sandbox, mode/environment strings) across a dozen popular gateways, and catches setup wizards that save a localized label instead of the canonical "production" value. Why are my severities lower on my staging site? Site Doctor detects non-production hosts (localhost, .loc/.test/.local TLDs, staging./dev. subdomains) and downgrades critical to warning and warning to info. A dev clone without a page cache is normal, not an emergency. Severities are only ever downgraded, never upgraded. My Redis says "Connected". What do these checks add? Almost every Redis check in the WordPress ecosystem opens a socket, sends a PING, gets a PONG, and reports green. That test cannot fail the ways Redis actually fails. A server can answer PING instantly while rejecting every write because it hit its memory ceiling under a noeviction policy, discarding keys as fast as WordPress writes them, serving another site's data from a shared keyspace, caching nothing that matters because the options group is on the ignore list, or costing more in round-trips than it saves in database work. These 21 checks read the server's running configuration instead of inferring health from the handshake. Can the Redis checks slow down or damage my Redis? They are read-only and run only when you scan, never on a normal page load. They use INFO, CONFIG GET, DBSIZE and one bounded SCAN. They never use KEYS: the connection is shared with the live site, and KEYS blocks the server for the length of the entire keyspace. Nothing is written, flushed, or reconfigured. My host blocks CONFIG GET. What happens then? The affected checks report "cannot verify this here" and tell you how to find out yourself. They never report "ok". CONFIG GET is disabled or renamed on a large share of managed hosting, Kinsta, WP Engine and Cloudways among them, and a check that passes because it could not look turns an unknown into false reassurance. Redis Cluster and Sentinel are detected and skipped for the same reason - one node's memory ceiling does not describe the network. Why does the eviction rate need two scans? The evicted_keys counter Redis exposes is cumulative since the server booted, so a single reading says nothing - four million evictions on a box with 200 days of uptime is not a signal. Only the delta between two reads is. The first scan records a baseline and tells you so; run it again a minute or more later for the rate. The baseline is stored in a non-autoloaded option rather than a transient on purpose: with an object cache installed, transients live in the very Redis being measured, so a baseline kept there would be evicted by the thrashing it exists to detect. Is Redis always worth having? No, and the checks do not assume it is. An object cache pays off only once the database work it avoids exceeds the round-trips it adds. A WordPress page issues on the order of a hundred cache lookups, so latency to Redis is multiplied by that count before anything is saved. On a test page issuing 112 commands per request, a healthy Redis at 0.5ms round-trip - ordinary for a managed Redis on a separate host - was slower than no object cache at all. The round-trip check reports that cost and deliberately stops short of a verdict; which side of the line your site sits on is a measurement on your own templates, not a default. Can I get the Redis report on the command line? Yes: wp multitool redis for the full object-cache report, --force to bypass the 10-minute probe cache and re-query the server, and --format=json for machine-readable output. wp multitool doctor prints Site Doctor's own checks (Redis included). wp multitool quickstart is the whole-site ranked list, same as the admin button. Related Modules [LITE System Info A Site Health dashboard: status pills for PHP, memory, database size, autoload, transients, cron, and caching - plus prioritized recommendations that link the module that fixes each issue.](https://wpmultitool.com/docs/system-info/) [PRO External Call Optimizer Stops redundant background HTTP: holds the 12-hour update-check gate when a flaky object cache breaks it, and caches repeated license/telemetry pings from chatty hosts. Security updates and payment traffic are never touched.](https://wpmultitool.com/docs/external-call-optimizer/) [PRO Debug Log Guard Stream, group, and safely compact wp-content/debug.log - with an hourly size guard so a runaway log never fills your disk.](https://wpmultitool.com/docs/debug-log-guard/) Ready to optimize your WordPress site? Join developers using WP Multitool to debug, optimize, and maintain WordPress. [Get WP Multitool](https://wpmultitool.com/pricing/)