# WordPress Database Bloat
Source: https://wpmultitool.com/database-bloat/

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; } } .container { padding: var(--space-xl) var(--space-lg); } /* Black Friday announcement strip */ .bf-banner { background: var(--black, #0a0a0a); color: var(--text, #e8e8e8); border-bottom: 1px solid var(--border, #2a2a2a); font-family: var(--font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif); font-size: var(--font-size-sm, 0.875rem); line-height: 1.35; letter-spacing: -0.01em; } .bf-banner__inner { max-width: 1100px; margin: 0 auto; padding: 0.375rem 1.5rem; text-align: center; } .bf-banner__code { font-family: var(--font-mono, ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace); color: var(--accent, #c8ff00); border: 1px dashed var(--accent, #c8ff00); padding: 0 0.25rem; white-space: nowrap; } .bf-banner__link { color: var(--accent, #c8ff00); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; } .bf-banner__link:hover { color: var(--text, #e8e8e8); } .bf-banner__link:focus-visible { outline: 2px solid var(--accent, #c8ff00); outline-offset: 2px; } @media (max-width: 480px) { .bf-banner { letter-spacing: -0.02em; line-height: 1.25; } .bf-banner__inner { padding: 0.375rem 0.5rem; } } /* 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; } } /* === Page Header === */ .header { padding: var(--space-3xl) 0; border-bottom: 1px solid var(--border); } .header__badge { display: inline-block; font-family: var(--font-mono); font-size: var(--font-size-2xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--black); background: var(--accent); padding: 2px 8px; margin-bottom: var(--space-lg); } .header__title { margin-bottom: var(--space-lg); } .header__subtitle { font-family: var(--font-body); font-size: var(--font-size-xl); color: var(--text-muted); max-width: 600px; } .header__actions { margin-top: var(--space-xl); } /* === Sections === */ .section { padding: var(--space-2xl) 0; border-bottom: 1px solid var(--border); } .section--alt { background: var(--surface); } /* === Problem Statement === */ .problem { background: var(--surface-elevated); border-left: 3px solid var(--warning); padding: var(--space-lg); margin: var(--space-xl) 0; } .problem__title { font-family: var(--font-mono); font-size: var(--font-size-md); color: var(--warning); margin-bottom: var(--space-sm); } /* === Code blocks === */ pre { font-family: var(--font-mono); font-size: var(--font-size-md); background: var(--surface); border: 1px solid var(--border); padding: var(--space-lg); overflow-x: auto; margin: var(--space-lg) 0; } code { font-family: var(--font-mono); font-size: max(0.875rem, 0.875em); background: var(--surface-elevated); padding: 2px 6px; } pre code { background: none; padding: 0; } /* === Terminal list === */ .terminal-list { list-style: none; counter-reset: line; } .terminal-list li { counter-increment: line; padding: var(--space-md) 0; padding-left: 3.5rem; border-bottom: 1px solid var(--border); position: relative; } .terminal-list li::before { content: counter(line, decimal-leading-zero); position: absolute; left: 0; font-family: var(--font-mono); font-size: var(--font-size-xs); color: var(--text-dim); width: 2.5rem; text-align: right; } /* === Comparison table === */ .comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); margin: var(--space-xl) 0; } .comparison__col { background: var(--surface); padding: var(--space-lg); } .comparison__header { font-family: var(--font-mono); font-size: var(--font-size-sm); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-md); } .comparison__col--problem .comparison__header { color: var(--text-muted); } .comparison__col--solution .comparison__header { color: var(--accent); } .comparison ul { list-style: none; } .comparison li { position: relative; padding: var(--space-sm) 0 var(--space-sm) 1.25rem; color: var(--text-muted); font-size: var(--font-size-prose); } .comparison li::before { content: "-"; position: absolute; left: 0; color: var(--text-dim); } /* === Stat boxes === */ .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-lg); margin: var(--space-xl) 0; } .stat { border-top: 1px solid var(--border); padding-top: var(--space-md); } .stat__value { font-family: var(--font-mono); font-size: var(--font-size-4xl); font-weight: 700; color: var(--accent); line-height: 1; } .stat__label { font-family: var(--font-mono); font-size: var(--font-size-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: var(--space-xs); } /* === CTA === */ .cta { text-align: center; padding: var(--space-3xl) 0; } .cta__title { margin-bottom: var(--space-lg); } .cta__title::before { content: none; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: var(--space-sm) var(--space-xl); font-family: var(--font-mono); font-size: var(--font-size-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; border: none; cursor: pointer; min-height: 44px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .btn--primary { background: var(--accent); color: var(--black); } .btn--primary:hover { background: var(--text); transform: translateY(-1px); } .btn--secondary { background: var(--surface-elevated); border: 1px solid var(--border-control); color: var(--text); margin-left: var(--space-md); } .btn--secondary:hover, .btn--secondary:focus-visible { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); } .btn--secondary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .btn--tertiary-link { display: block; margin-top: var(--space-md); font-family: var(--font-mono); font-size: var(--font-size-sm); color: var(--text-muted); } .btn--tertiary-link:hover { color: var(--accent); } /* === Inline soft CTA === */ .soft-cta { background: var(--surface-elevated); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: var(--space-lg); margin: var(--space-xl) 0; } .soft-cta p { margin-bottom: var(--space-sm); } .soft-cta a { font-family: var(--font-mono); font-size: var(--font-size-md); color: var(--accent); font-weight: 600; } /* === FAQ === */ .faq__item { border-bottom: 1px solid var(--border); padding: var(--space-lg) 0; } .faq__q { font-family: var(--font-mono); font-size: var(--font-size-lg); color: var(--text); margin-bottom: var(--space-sm); } .faq__a { color: var(--text-muted); font-size: var(--font-size-prose); margin: 0; } /* === Related guides === */ .related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-md); margin: var(--space-lg) 0; } .related a { display: block; background: var(--surface); border: 1px solid var(--border); padding: var(--space-md); font-family: var(--font-mono); font-size: var(--font-size-md); color: var(--text); text-decoration: none; transition: border-color 0.3s ease; } .related a:hover { border-color: var(--accent); color: var(--accent); } /* === Tables === */ table { width: 100%; border-collapse: collapse; margin: var(--space-xl) 0; font-size: var(--font-size-md); } th, td { padding: var(--space-sm) var(--space-md); text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; } th { font-family: var(--font-mono); font-size: var(--font-size-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); border-bottom: 2px solid var(--border); } td { color: var(--text-muted); } td:first-child { color: var(--text); font-weight: 600; } /* === Callout (info/note) === */ .callout { background: var(--surface-elevated); border-left: 3px solid var(--accent); padding: var(--space-lg); margin: var(--space-xl) 0; } .callout__title { font-family: var(--font-mono); font-size: var(--font-size-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: var(--space-sm); } .callout p:last-child { margin-bottom: 0; } /* === Responsive === */ @media (max-width: 600px) { .comparison { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } .cta { display: flex; flex-direction: column; align-items: center; } .btn { width: 100%; max-width: 300px; } .btn--secondary { margin-left: 0; margin-top: var(--space-md); } pre, code { font-size: var(--font-size-xs); } table { display: block; overflow-x: auto; white-space: normal; -webkit-overflow-scrolling: touch; font-size: var(--font-size-sm); } th, td { padding: var(--space-xs) var(--space-sm); } .terminal-list li { padding-left: 2.25rem; } .terminal-list li::before { width: 1.75rem; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } body::before, body::after { display: none; } } /* 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; } } /* --- Typography floor ------------------------------------------------- 12-14px text at weight 400 is the "hard to read" complaint from the video review. These are this page's small labels and meta - weight 500 keeps them legible without changing the size or the layout. Audited with the house typography-floor rule; do not drop the weight again. */ .header__badge, .stat__label, .comparison__header, .callout__title, .btn--tertiary-link { font-weight: 500; } Skip to main content Black Friday: 25% off Yearly and Lifetime with code `BLACKFRIDAY25`. Until Mon 1 Dec, 23:59 UTC. [See pricing](https://wpmultitool.com/pricing/) Database Cleanup WordPress Database Bloat: Clean It Without Nuking the Site Revisions, expired cache entries, orphaned rows and finished background jobs pile up quietly. **Database Optimizer shows what is there, writes a SQL backup first, and refuses to delete if that backup cannot be written.** [Get WP Multitool - from $79/year](https://wpmultitool.com/pricing/) [Read our reviews on Trustpilot ↗](https://www.trustpilot.com/review/wpmultitool.com) What Database Bloat Looks Like The database grows even when the content does not. Backups take longer, the hosting panel warns about database size, wp-admin gets heavier, and nobody can say which rows are safe to remove. Most of the weight is boring: post revisions, expired temporary cache entries, old auto-drafts, trash, orphaned settings and finished background jobs. It still becomes a problem because nobody owns the cleanup until the database is already heavy. The dangerous part The dangerous click is a cleanup plugin that treats every unknown row as junk. Order history, plugin settings and custom tables are data the site may still need. Database Optimizer starts from a different position: show what is there, clean the categories WordPress can explain, write the backup first, and leave judgment calls as report-only. What Actually Piles Up Kind of bloat Why it appears Post revisions Every update can leave another copy of the post. Database Optimizer keeps the newest revisions per post and removes only the older ones you choose to prune. Expired temporary entries WordPress and plugins store short-lived cache entries in the database. Expired ones can be regenerated, so they are the safest cleanup category. Orphaned rows Rows left behind when a post, comment, user or term no longer exists, plus old auto-drafts and posts sitting in trash. Finished background jobs Completed, failed and canceled background-job rows pile up in WooCommerce and other queue-using plugins. Custom tables Deleting a plugin removes its files, not always the tables it created. The report shows which installed code still references each table. WooCommerce order meta Extensions can leave large key/value data on historical orders. Financial and order keys are marked protected and are never removed by this report. See the Weight Before You Delete Anything The module opens with counts and byte sizes for each cleanup category. You can see how many revisions exist, how much space they occupy, which posts hoard the most, how many temporary entries expired, and how large each database table is. **Revision preview.** Choose how many revisions to keep per post - 5 is the starting value - and preview how many older rows would go before running the prune. **Orphan preview.** Orphaned metadata is grouped by key with row counts and byte totals, so you see which plugin leftover dominates instead of deleting blind. **Custom table report.** Non-core tables are listed with approximate size and owner status, but never dropped by the module. **WooCommerce order-meta report.** On WooCommerce, the largest order meta keys are ranked by size and core financial keys are marked protected. This report never deletes anything. **Table overhead.** Tables with reclaimable overhead are the only ones offered to the optimize pass; clean tables are skipped. That preview tells you what the size means. Counts and byte sizes are grouped by cleanup category, so you can choose what to clean based on evidence. Backup First, Delete Second Every row-deleting cleanup in Database Optimizer writes a SQL dump of the rows first. If that file cannot be written and verified, the cleanup refuses to delete anything. An incomplete backup means no delete. **Write the dump.** The rows selected for deletion are streamed to a SQL file before the first delete runs. **Verify the file.** A failed or incomplete dump means the cleanup stops while every row is still in the database. **Delete only what was dumped.** Rows that changed during the cleanup are left in place for a later run instead of being deleted against a stale backup. **Offer the download.** The success notice links the SQL file, so the rows can be restored with a normal database import if you ever need them. **Protect the storage.** The backup location prefers a directory outside the public web root. If it must use uploads, protection files are written and public access is tested. Backups are also sensitive, so they do not accumulate forever. Old backup files are pruned daily and after new backups; the default is 30 days while always keeping the newest 5, and both settings are configurable. Important boundary This is a row-level backup for the cleanup you just ran. It is not a full-site backup and it does not replace your normal backup system. Database Optimizer is included with WP Multitool, and every paid plan includes all 19 modules from $79/year for one site. Preview first, back up first, then delete only what the backup covers. [Get WP Multitool - from $79/year](https://wpmultitool.com/pricing/) What Database Optimizer Cleans - and What It Only Reports Expired temporary entries are the easy win. Clearing all temporary entries is offered too, but the screen warns you because active sessions and WooCommerce carts can live there. Expired-only is the sane default. Revision pruning keeps the newest revisions per post. Orphan cleanup removes metadata whose parent record is gone, old auto-drafts older than 7 days, and posts in trash for more than 30 days. Finished background-job cleanup covers failed and completed jobs, not pending or in-progress work. The cron card can run overdue tasks and lets you remove individually reviewed events that look abandoned. A callback missing in the current request can still be registered by code that only loads while cron runs, so events are removed one by one with a backup and can be restored. Custom tables and WooCommerce order meta stay report-only. The module will show likely dead tables and heavy non-protected order keys. It will not drop a table or delete financial records for you. That boundary is deliberate. What Database Optimizer Will Not Do **It does not run a full cleanup on a schedule.** Cleanup actions are explicit clicks. Automatic scheduling applies to backup retention, not to deleting your data. **It does not decide that a custom table is dead.** The report compares table names with installed plugin and theme code, then leaves manual review to you. **It does not delete WooCommerce order meta.** The order-meta report marks protected core keys and never removes anything. **It is not a full backup solution.** The SQL file covers rows selected by that cleanup, not the whole database, files or settings. **Deleting rows does not always shrink files immediately.** Table optimization can reclaim overhead, but the database storage engine may still report baseline overhead afterwards. **Clearing all temporary entries can log people out or empty carts.** Use expired-only unless you understand what the active entries contain. **It cannot fix a slow query by itself.** A smaller database helps, but a bad query plan or heavy plugin still needs Slow Query Analyzer or the profiler. WordPress Database Cleanup FAQ Is WordPress database cleanup safe? It is safe only when the categories are understood and the rows are backed up first. Database Optimizer writes a SQL dump before deleting, refuses the cleanup if that dump cannot be written, and keeps report-only areas like custom tables separate. Does it delete published posts or pages? No. The cleanup targets older revisions, expired temporary entries, orphaned rows, old auto-drafts, posts already in trash for more than 30 days, and finished background-job rows. Published content is not a cleanup category. Does Database Optimizer run automatically? No full database cleanup runs on a schedule. You choose each cleanup deliberately. Backup retention itself is automatic so old SQL dumps do not pile up forever. Is the SQL backup a full site backup? No. It contains the rows selected for that cleanup, so they can be restored if needed. It does not replace a normal full database and file backup. Why is my database still large after cleanup? Deleting rows can leave empty space inside database tables. The optimize pass can reclaim table overhead where the storage engine allows it, but row count and file size are not the same measurement. Can clearing transients empty WooCommerce carts? Clearing expired transients is the safe path. Clearing all transients can remove active sessions because WooCommerce stores cart sessions there, and the module warns about that before you click. Will database cleanup make WordPress faster? It can when bloat is part of the cost: smaller tables, less overhead and fewer expired rows are easier to work with. It does not fix a slow query, missing index or heavy plugin by itself. Related Guides [WordPress MySQL indexes missing →](https://wpmultitool.com/missing-db-indexes/) [WooCommerce admin is slow →](https://wpmultitool.com/woocommerce-admin-slow/) [Reduce autoloaded data bloat →](https://wpmultitool.com/autoload-bloat/) [Find & fix slow database queries →](https://wpmultitool.com/slow-queries/) [WordPress site health check →](https://wpmultitool.com/site-health-check/) [Jumpstart one-button cleanup →](https://wpmultitool.com/blog/jumpstart-one-button-wordpress-cleanup/) Clean the Database With a Way Back Database Optimizer is included with WP Multitool, and every paid plan includes all 19 modules from $79/year for one site. Preview first, back up first, then delete only what the backup covers. [Get WP Multitool - from $79/year](https://wpmultitool.com/pricing/) [Autoload Bloat Guide](https://wpmultitool.com/autoload-bloat/) [All plans on the pricing page →](https://wpmultitool.com/pricing/)