# ¿Faltan índices MySQL en WordPress? Demuéstralo antes de añadir uno
Source: https://wpmultitool.com/es/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; } Saltar al contenido principal Black Friday: 25% de descuento en la Suscripción anual y la Licencia vitalicia con el código `BLACKFRIDAY25`. Hasta el lunes 1 de diciembre, 23:59 UTC. [Ver precios](https://wpmultitool.com/es/pricing/) Rendimiento de la base de datos ¿Faltan índices MySQL en WordPress? Demuéstralo antes de añadir uno Un índice que falta suele esconderse en una sola consulta lenta. WordPress no muestra una advertencia para toda la base de datos. **Slow Query Analyzer captura esa consulta en wp-admin, ejecuta EXPLAIN y ofrece un índice comprobado solo cuando el plan lo respalda.** [Consigue Pro - desde $79 al año](https://wpmultitool.com/es/pricing/) [Leer nuestras reseñas en Trustpilot ↗](https://www.trustpilot.com/review/wpmultitool.com) Qué aspecto tiene un índice ausente en WordPress No hay ningún aviso en el escritorio que diga que falta un índice. Ves una pantalla de Entradas que se queda pensando durante segundos, un filtro de WooCommerce que se queda girando o una página de ajustes de un plugin que golpea la base de datos cada vez que se abre. Dentro de MySQL la señal suele ser simple: EXPLAIN muestra un escaneo completo, ninguna clave utilizable o miles de filas examinadas para devolver unas pocas. WordPress en sí no incluye tablas del núcleo sin indexar. El problema es la distancia entre los índices que existen y la consulta que un plugin realmente ejecuta. El patrón caro Una consulta parece selectiva en el código, pero MySQL no puede demostrarlo con un índice. Así que lee fila tras fila, descarta casi todas y vuelve a hacer el mismo trabajo en la siguiente carga de admin. Por eso yo no añadiría un índice solo porque un artículo diga que una tabla lo necesita. Primero captura la consulta que va lenta y después mira su plan. Dónde se esconden los índices ausentes La mayoría de las consultas de WordPress van bien porque el núcleo ya indexa sus patrones normales de acceso. Las feas suelen venir de plugins que consultan datos de una forma que el esquema original no esperaba. Lugar Lo que suele pasar Búsquedas de metadatos de entradas Un plugin filtra por una clave meta y luego por entrada o valor. Los índices de una sola columna ayudan solo a una parte del predicado, así que una tabla de metadatos con mucho movimiento acaba en un escaneo. Tablas personalizadas de plugins Una tabla crece en silencio durante meses. Los primeros índices se eligieron cuando estaba vacía y nadie los revisa cuando aparecen las consultas reales. Tablas de colas y logs Las columnas de estado, fecha y grupo se consultan juntas. Una columna está indexada, la combinación no, y la base de datos sigue leyendo mucho más historial del que la pantalla necesita. Pantallas de búsqueda y filtros Un filtro LIKE o un orden no puede usar el índice que esperaba quien creó la tabla. La consulta es SQL válido; simplemente es cara con el tamaño real de la tabla. El nombre de la tabla por sí solo no demuestra nada. wp_postmeta puede ir bien en un sitio y fatal en otro. Deciden la consulta, su cardinalidad y las claves existentes. Captura la consulta real antes de tocar el esquema Slow Query Analyzer es el módulo de WP Multitool para este trabajo. Es un módulo Pro y viene desactivado por defecto, así que la captura de consultas solo empieza cuando activas el módulo. Una vez activado, observa las peticiones de wp-admin de usuarios que pueden gestionar el sitio. Las consultas que superan el umbral por defecto de 100 ms se guardan con el origen, el componente que las ejecutó, la duración mínima y máxima y una huella normalizada para que las repeticiones se agrupen en una sola fila. **Las capturas nuevas se analizan automáticamente.** Las sentencias SELECT, UPDATE y DELETE se analizan con EXPLAIN durante el cierre de la misma solicitud que las capturó. **Los reincidentes siguen visibles.** El registro conserva recuentos y rangos de duración en lugar de ahogarte en copias idénticas de la misma consulta. **El registro tiene límite.** Conserva las últimas 5.000 filas en lugar de convertirse en otro problema para la base de datos. **El origen queda nombrado.** Cuando el código que la llama lo revela, se indica si viene del núcleo, el tema, un mu-plugin o el directorio del plugin. El origen de la llamada muestra qué código ejecutó la consulta, así que puedes valorar la indicación sobre el índice que falta teniendo en cuenta el esquema, la consulta y el plugin que hace el trabajo. Un CREATE INDEX comprobado, reconstruido en el servidor Cuando EXPLAIN dice que un índice puede ayudar, el módulo construye una sugerencia localmente. No pega en MySQL cualquier cosa que el navegador envíe. La sentencia propuesta se trata como una petición y luego se reconstruye en el servidor. **Validar la forma.** Solo se acepta un CREATE INDEX simple sobre una tabla con componentes de clave simples. **Validar el esquema.** La tabla y las columnas se comprueban en information_schema antes de ejecutar nada. **Respetar los tipos de columna.** Las columnas TEXT y BLOB reciben una longitud de prefijo segura; las columnas JSON y espaciales se rechazan cuando un índice B-tree simple no puede cubrirlas. **Comprobar las claves existentes.** Un índice duplicado o ya cubierto se marca como ya aplicado en lugar de crear ruido. **Seguir el cambio.** Los índices creados por WP Multitool aparecen aparte y pueden revertirse desde la misma pantalla. Nada se aplica automáticamente. Haces clic en Apply Index, MySQL ejecuta la sentencia reconstruida y el resultado se muestra. Si el índice fue creado por WP Multitool, una acción Revert puede eliminarlo de nuevo. El coste es real Un índice cuesta disco y encarece las escrituras. En una tabla grande, CREATE INDEX también puede tardar o bloquear operaciones según el motor y la versión de MySQL. Prueba en staging o elige un horario de poco tráfico. Slow Query Analyzer es un módulo Pro - $79/año para un sitio, y cada plan de pago incluye los 19 módulos. Actívalo cuando la base de datos deje de ser una adivinanza. [Consigue Pro - desde $79 al año](https://wpmultitool.com/es/pricing/) Cuando un índice es la solución equivocada Una consulta lenta no es automáticamente un problema de indexación. A veces la consulta pide los datos equivocados, lee las mismas filas dentro de un bucle, ordena un resultado que podría haber limitado o filtra con una función que anula cualquier clave sensata. El analizador es deliberadamente conservador aquí. Puede señalar escaneos completos, filesorts, tablas temporales y claves no utilizadas, pero no emite sugerencias de índices para patrones de consulta que no puede demostrar. Una sugerencia perdida no cuesta nada. Un índice equivocado puede quedarse ahí para siempre y penalizar cada escritura. Ese es el resultado que quiero: menos supersticiones, más pruebas. Si la solución es un índice, aplica uno comprobado. Si la solución es reescribir la consulta, sabes qué plugin y qué consulta llevar a quien mantiene el plugin. Qué no hará Slow Query Analyzer **No escanea todo el esquema buscando índices ausentes.** Analiza consultas que realmente fueron capturadas porque superaron el umbral. **Nunca captura consultas del frontend.** La captura solo se activa en contexto de admin con un usuario que tiene manage_options, porque el texto de la consulta puede contener literales sensibles. **No puede explicar cada sentencia.** El análisis EXPLAIN se intenta para capturas SELECT, UPDATE y DELETE; otros tipos de sentencias se registran sin plan de ejecución. **No aplica índices automáticamente.** Cada CREATE INDEX es un clic explícito, y el módulo reconstruye la sentencia antes de ejecutarla. **No puede revertir un índice creado por otros.** Revert se limita a índices que WP Multitool creó y registró. **No es una herramienta de copias de seguridad.** Añadir o eliminar un índice no cambia filas de la tabla, pero sigue siendo un cambio de esquema. Usa tu flujo habitual de copias de seguridad y staging. Preguntas frecuentes sobre índices ausentes en la base de datos ¿WordPress te avisa cuando falta un índice MySQL? No. MySQL simplemente elige el mejor plan que puede con los índices que existen. El síntoma suele ser una pantalla lenta o una consulta que examina muchas más filas de las que devuelve. EXPLAIN es la forma de verlo. ¿Faltan por defecto los índices en wp_postmeta? No. El núcleo incluye índices para sus patrones normales de acceso. El problema empieza cuando un plugin consulta metadatos en una combinación distinta, a menudo clave meta más entrada o valor. En ese caso la consulta y el índice no encajan dentro de una instalación normal de WordPress. ¿Slow Query Analyzer añadirá índices automáticamente? No. Puede sugerir una sentencia CREATE INDEX comprobada, pero aplicarla es un clic explícito. El módulo valida la tabla, las columnas, las longitudes de clave y los índices existentes antes de que MySQL ejecute nada. ¿Puedo revertir un índice después de aplicarlo? Sí, cuando WP Multitool creó y registró ese índice. La lista Applied Indexes tiene una acción Revert. Se niega a eliminar índices que no creó. ¿EXPLAIN cambia la base de datos? No. EXPLAIN pregunta a MySQL cómo ejecutaría la consulta. Es un paso de planificación de solo lectura; aplicar un índice es la acción separada que cambia el esquema. ¿Por qué no indexar todas las columnas? Cada índice extra cuesta disco y hace más pesado el trabajo de INSERT, UPDATE y DELETE. Demasiados índices también pueden dar al optimizador más malas opciones. Indexa el patrón de consulta demostrado, no toda la tabla. ¿Capturará consultas lentas del frontend? No. La captura es intencionadamente solo de admin. Un frontend lento suele necesitar otra vía de medición, mientras que wp-admin y admin-ajax.php están dentro de la superficie de captura del módulo. Guías relacionadas [Encuentra & arregla consultas lentas →](https://wpmultitool.com/es/slow-queries/) [El admin de WooCommerce va lento →](https://wpmultitool.com/es/woocommerce-admin-slow/) [admin-ajax.php va lento y machaca el servidor →](https://wpmultitool.com/es/admin-ajax-slow/) [wp-admin lento pero el frontend rápido →](https://wpmultitool.com/es/slow-admin/) [Reduce los datos en autoload →](https://wpmultitool.com/es/autoload-bloat/) Demuestra el índice antes de crearlo Slow Query Analyzer es un módulo Pro - $79/año para un sitio, y cada plan de pago incluye los 19 módulos. Actívalo cuando la base de datos deje de ser una adivinanza. [Consigue Pro - desde $79 al año](https://wpmultitool.com/es/pricing/) [Guía de consultas lentas](https://wpmultitool.com/es/slow-queries/) [Todos los planes en la página de precios →](https://wpmultitool.com/es/pricing/)