WordPress guide
JSON-LD structured data
Emit one JSON-LD block per page type. Use this lookup table to pick the right schema:
| Page type | Schema | Required fields |
|---|---|---|
| Blog post | Article | headline, author, datePublished, image |
| Product | Product | name, image, offers (price, priceCurrency) |
| Homepage | Organization | name, url, logo, sameAs |
| Any inner page | BreadcrumbList | itemListElement |
| FAQ section | FAQPage | mainEntity (Question + acceptedAnswer) |
Article — copy/paste
json{ "@context": "https://schema.org", "@type": "Article", "headline": "Your headline", "author": { "@type": "Person", "name": "Jane Doe" }, "datePublished": "2026-06-25", "image": "https://yoursite.com/cover.jpg", "publisher": { "@type": "Organization", "name": "Your Site", "logo": { "@type": "ImageObject", "url": "https://yoursite.com/logo.png" } } }
Product — copy/paste
json{ "@context": "https://schema.org", "@type": "Product", "name": "AI Grader by Magnetic WP Lifetime", "image": "https://magneticwp.com/og.jpg", "offers": { "@type": "Offer", "price": "19.00", "priceCurrency": "USD", "availability": "https://schema.org/InStock" } }