# Fehlen MySQL-Indizes in WordPress? Beweisen Sie es, bevor Sie einen hinzufügen
Source: https://wpmultitool.com/de/missing-db-indexes/

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; } Zum Hauptinhalt springen Black Friday: 25 % Rabatt auf das Jahresabo und die Lifetime-Lizenz mit dem Code `BLACKFRIDAY25`. Bis Montag, 1. Dezember, 23:59 UTC. [Zu den Preisen](https://wpmultitool.com/de/pricing/) Datenbank-Performance Fehlen MySQL-Indizes in WordPress? Beweisen Sie es, bevor Sie einen hinzufügen Ein fehlender Index versteckt sich meist in einer einzigen langsamen Abfrage. WordPress zeigt keine datenbankweite Warnung. **Slow Query Analyzer erfasst diese Abfrage in wp-admin, führt EXPLAIN aus und bietet nur dann einen geprüften Index an, wenn der Plan einen Index stützt.** [Pro kaufen – ab $79/Jahr](https://wpmultitool.com/de/pricing/) [Unsere Bewertungen auf Trustpilot lesen ↗](https://www.trustpilot.com/review/wpmultitool.com) Wie ein fehlender Index in WordPress aussieht Es gibt keine Dashboard-Warnung, die einen fehlenden Index meldet. Sie sehen einen Beitragsbildschirm, der sekundenlang nachdenkt, einen WooCommerce-Filter, der endlos lädt, oder eine Plugin-Einstellungsseite, die bei jedem Öffnen die Datenbank stark belastet. In MySQL ist das Zeichen meist einfach: EXPLAIN meldet einen Full Scan, keinen nutzbaren Schlüssel oder Tausende untersuchter Zeilen für eine Handvoll Ergebnisse. WordPress selbst wird nicht mit nicht indizierten Core-Tabellen ausgeliefert. Das Problem ist die Lücke zwischen den vorhandenen Indizes und der Query, die ein Plugin tatsächlich ausführt. Das teure Muster Eine Query wirkt im Code selektiv, aber MySQL findet keinen Index, der diese Selektivität nutzen kann. Also liest MySQL Zeile für Zeile, verwirft fast alle und leistet beim nächsten Aufruf einer Admin-Seite dieselbe Arbeit erneut. Deshalb würde ich keinen Index hinzufügen, nur weil ein Blogbeitrag sagt, eine Tabelle brauche einen. Erfassen Sie zuerst die Abfrage, die langsam ist, und sehen Sie sich dann ihren Plan an. Wo sich fehlende Indizes verstecken Die meisten WordPress-Queries sind in Ordnung, weil der Core seine normalen Zugriffsmuster bereits indiziert. Die problematischen kommen meist von Plugins, die Daten auf eine Weise abfragen, die das ursprüngliche Schema nicht erwartet hat. Ort Was üblicherweise passiert Abfragen von Beitragsmetadaten Ein Plugin filtert nach einem Meta-Schlüssel und dann nach Beitrag oder Wert. Die einspaltigen Indizes helfen nur einem Teil der Bedingung, also wird eine vielgenutzte Meta-Tabelle zu einem Scan. Benutzerdefinierte Plugin-Tabellen Eine Tabelle wächst monatelang still. Die ersten Indizes wurden gewählt, als sie leer war, und niemand prüft sie erneut, wenn echte Queries auftauchen. Warteschlangen- und Log-Tabellen Status-, Datums- und Gruppenspalten werden gemeinsam abgefragt. Eine Spalte ist indiziert, die Kombination nicht, und die Datenbank liest weiterhin weit mehr historische Zeilen, als der Bildschirm braucht. Such- und Filterbildschirme Ein LIKE-Filter oder eine Sortierreihenfolge kann den erwarteten Index nicht nutzen. Die Query ist gültiges SQL; sie ist bei der realen Tabellengröße nur teuer. Der Tabellenname allein beweist nichts. wp_postmeta kann auf einer Website in Ordnung und auf einer anderen miserabel sein. Die Query, ihre Kardinalität und die vorhandenen Schlüssel entscheiden. Die echte Query erfassen, bevor Sie das Schema anfassen Slow Query Analyzer ist das WP Multitool-Modul für diese Aufgabe. Es ist ein Pro-Modul und wird standardmäßig deaktiviert ausgeliefert. Die Query-Erfassung startet also erst, wenn Sie das Modul einschalten. Nach der Aktivierung beobachtet es wp-admin-Requests von Benutzern, die die Website verwalten können. Queries, deren Dauer über der Standardschwelle von 100 ms liegt, werden mit Aufrufer, auslösender Komponente, kürzester und längster Dauer und einem normalisierten Fingerabdruck gespeichert, damit Wiederholungen zu einer Zeile zusammenfallen. **Neue Erfassungen werden automatisch analysiert.** SELECT-, UPDATE- und DELETE-Anweisungen werden per EXPLAIN analysiert, wenn dieselbe Anfrage endet, die sie erfasst hat. **Wiederholungstäter bleiben sichtbar.** Das Query-Log behält Anzahlen und Dauerbereiche, statt Sie in identischen Kopien derselben Query ertrinken zu lassen. **Das Query-Log ist begrenzt.** Es behält die neuesten 5.000 Zeilen, statt selbst zu einem weiteren Datenbankproblem zu werden. **Die Quelle wird benannt.** Core, Theme, mu-plugin oder das Plugin-Verzeichnis werden angegeben, wenn der Aufrufer sie verrät. Der Aufrufer zeigt, welcher Code die Query ausgeführt hat, sodass Sie den Hinweis auf den fehlenden Index anhand des Schemas, der Query und des ausführenden Plugins bewerten können. Ein geprüfter CREATE INDEX, serverseitig neu aufgebaut Wenn EXPLAIN sagt, dass ein Index helfen könnte, erstellt das Modul selbst einen Vorschlag. Es reicht nicht ungeprüft an MySQL weiter, was der Browser zurücksendet. Die vorgeschlagene Anweisung wird als Anfrage behandelt und serverseitig neu aufgebaut. **Form prüfen.** Akzeptiert wird nur ein einfacher CREATE INDEX auf einer Tabelle mit einfachen Schlüsselteilen. **Schema prüfen.** Tabelle und Spalten werden vor jeder Ausführung mit information_schema abgeglichen. **Spaltentypen respektieren.** TEXT- und BLOB-Spalten erhalten eine sichere Präfixlänge; JSON- und räumliche Spalten werden abgelehnt, wenn ein einfacher B-Tree-Index sie nicht abdecken kann. **Vorhandene Schlüssel prüfen.** Ein doppelter oder bereits abgedeckter Index wird als bereits angewendet gemeldet, statt Rauschen zu erzeugen. **Änderung verfolgen.** Von WP Multitool erstellte Indizes werden separat aufgelistet und können auf demselben Bildschirm zurückgenommen werden. Nichts wird automatisch angewendet. Sie klicken auf „Index anwenden“. MySQL führt die neu aufgebaute Anweisung aus; das Ergebnis wird gemeldet. Wenn der Index von WP Multitool erstellt wurde, kann er über „Zurücknehmen“ wieder entfernt werden. Die Kosten sind real Ein Index kostet Speicherplatz und macht Schreibzugriffe teurer. Bei einer großen Tabelle kann CREATE INDEX je nach Engine und MySQL-Version auch Zeit brauchen oder andere Vorgänge blockieren. Testen Sie in einer Staging-Umgebung oder wählen Sie ein ruhiges Zeitfenster. Slow Query Analyzer ist ein Pro-Modul - $79/Jahr für eine Website, und jeder bezahlte Plan enthält alle 19 Module. Schalten Sie es ein, wenn Sie bei der Datenbank nicht länger raten wollen. [Pro kaufen – ab $79/Jahr](https://wpmultitool.com/de/pricing/) Wenn ein Index die falsche Lösung ist Eine langsame Query ist nicht automatisch ein Indexproblem. Manchmal fragt die Query die falschen Daten ab, liest dieselben Zeilen in einer Schleife, sortiert ein Ergebnis, das sie hätte begrenzen können, oder filtert mit einer Funktion, die jeden sinnvollen Schlüssel aushebelt. Der Analyzer ist hier bewusst konservativ. Er kann auf Full Scans, Filesorts, temporäre Tabellen und fehlende Schlüsselnutzung hinweisen, hält aber Indexvorschläge für Query-Formen zurück, die er nicht beweisen kann. Ein fehlender Vorschlag kostet nichts. Ein falscher Index kann ewig liegen bleiben und jeden Schreibzugriff belasten. Das ist das Ergebnis, das ich will: weniger Aberglaube, mehr Belege. Wenn die Lösung ein Index ist, wenden Sie einen geprüften an. Muss die Query selbst umgeschrieben werden, wissen Sie, welches Plugin und welche Query Sie an die Entwickler des Plugins weitergeben müssen. Was Slow Query Analyzer nicht tut **Es scannt nicht das ganze Schema nach fehlenden Indizes.** Es analysiert Queries, die tatsächlich erfasst wurden, weil sie die Schwelle überschritten haben. **Es erfasst niemals Frontend-Queries.** Die Erfassung ist auf den Admin-Kontext und einen Benutzer mit manage_options begrenzt, weil Query-Text sensible Literale enthalten kann. **Es kann nicht jede Anweisung erklären.** Die EXPLAIN-Analyse wird für erfasste SELECT-, UPDATE- und DELETE-Anweisungen versucht; andere Anweisungstypen werden ohne Ausführungsplan protokolliert. **Es wendet Indizes nicht automatisch an.** Jeder CREATE INDEX ist ein bewusster Klick; das Modul baut die Anweisung neu, bevor sie ausgeführt wird. **Es kann keinen fremden Index zurücknehmen.** Das Zurücknehmen ist auf Indizes begrenzt, die WP Multitool selbst erstellt und verfolgt hat. **Es ist kein Backup-Tool.** Das Hinzufügen oder Entfernen eines Index ändert keine Tabellenzeilen, ist aber dennoch eine Schemaänderung. Nutzen Sie Ihre übliche Backup- und Staging-Praxis. FAQ zu fehlenden Datenbankindizes Warnt WordPress mich, wenn ein MySQL-Index fehlt? Nein. MySQL wählt einfach den besten Plan, der mit den vorhandenen Indizes möglich ist. Das Symptom ist meist ein langsamer Bildschirm oder eine Query, die weit mehr Zeilen untersucht, als sie zurückgibt. EXPLAIN macht das sichtbar. Fehlen die Indizes für wp_postmeta standardmäßig? Nein. Der Core liefert Indizes für seine normalen Zugriffsmuster mit. Probleme entstehen, wenn ein Plugin Metadaten in einer anderen Kombination abfragt, oft Meta-Schlüssel plus Beitrag oder Wert. Dann passen Abfrage und Index in einer normalen WordPress-Installation nicht zusammen. Fügt Slow Query Analyzer Indizes automatisch hinzu? Nein. Es kann eine geprüfte CREATE INDEX-Anweisung vorschlagen, doch die Anwendung ist ein bewusster Klick. Das Modul prüft Tabelle, Spalten, Schlüssellängen und vorhandene Indizes, bevor MySQL etwas ausführt. Kann ich einen Index nach dem Anwenden rückgängig machen? Ja, wenn WP Multitool diesen Index erstellt und verfolgt hat. Die Liste „Angewendete Indizes“ enthält eine Aktion zum Zurücknehmen. Das Modul verweigert das Entfernen von Indizes, die es nicht erstellt hat. Verändert EXPLAIN die Datenbank? Nein. EXPLAIN fragt MySQL, wie es die Query ausführen würde. Es ist ein reiner Lese- und Planungsschritt; das Anwenden eines Index ist die separate Aktion, die das Schema verändert. Warum nicht jede Spalte indizieren? Jeder zusätzliche Index kostet Speicherplatz und macht INSERT-, UPDATE- und DELETE-Vorgänge aufwendiger. Zu viele Indizes können dem Abfrageoptimierer auch mehr schlechte Optionen geben. Indizieren Sie das bewiesene Query-Muster, nicht die ganze Tabelle. Erfasst er langsame Frontend-Queries? Nein. Die Erfassung ist bewusst auf den Admin-Bereich begrenzt. Ein langsames Frontend braucht meist einen anderen Messpfad, während wp-admin und admin-ajax.php innerhalb der Erfassungsfläche des Moduls liegen. Verwandte Guides [Langsame Datenbank-Queries finden & beheben →](https://wpmultitool.com/de/slow-queries/) [WooCommerce-Admin ist langsam →](https://wpmultitool.com/de/woocommerce-admin-slow/) [admin-ajax.php ist langsam und flutet den Server →](https://wpmultitool.com/de/admin-ajax-slow/) [wp-admin ist langsam, das Frontend schnell →](https://wpmultitool.com/de/slow-admin/) [Ballast in autoloaded Daten verringern →](https://wpmultitool.com/de/autoload-bloat/) Beweisen Sie den Index, bevor Sie ihn erstellen Slow Query Analyzer ist ein Pro-Modul - $79/Jahr für eine Website, und jeder bezahlte Plan enthält alle 19 Module. Schalten Sie es ein, wenn Sie bei der Datenbank nicht länger raten wollen. [Pro kaufen – ab $79/Jahr](https://wpmultitool.com/de/pricing/) [Guide zu langsamen Queries](https://wpmultitool.com/de/slow-queries/) [Alle Tarife auf der Preisseite →](https://wpmultitool.com/de/pricing/)