Schema markup is structured data you add to your web pages to help search engines understand your content. When implemented correctly, it can earn you rich snippets — enhanced search result listings with star ratings, FAQ dropdowns, how-to steps, or other visual elements that make your listing stand out.
What Is JSON-LD?
JSON-LD (JavaScript Object Notation for Linked Data) is the format Google recommends for schema markup. It's a block of JSON that sits in a <script> tag in your page's HTML. Unlike older formats (Microdata, RDFa), JSON-LD doesn't require you to modify your visible HTML — it's a separate data block.
Schema Types That Matter for SEO
Article Schema
For blog posts and news articles. Includes headline, author, date published, date modified, and image. This is the most common schema type and should be on every article page.
FAQ Schema
For pages with question-and-answer pairs. When Google picks this up, it can display your questions and answers directly in search results. This dramatically increases the visual size of your listing.
HowTo Schema
For tutorial and instructional content. Includes steps, estimated time, required tools, and cost. Google can display individual steps in search results.
SoftwareApplication Schema
For software product pages. Includes application name, operating system, category, price, and rating. Useful for SaaS and plugin landing pages.
How to Add Schema Markup
There are three approaches:
- Manual coding: Write JSON-LD by hand and add it to your page template. Most control, but requires knowledge of the Schema.org specification.
- SEO plugin: Some WordPress SEO plugins generate basic schema automatically. Coverage varies — most handle Article schema but miss FAQ and HowTo.
- Schema generator tool: Use a dedicated tool to generate the JSON-LD, then paste it into your site. WordPress AI Plugin includes a schema markup generator that handles Article, FAQ, and HowTo types with real-time validation.
Testing Your Schema
After adding schema markup, test it:
- Use Google's Rich Results Test to check if your markup is eligible for rich snippets.
- Use the Schema.org Validator to check for syntax errors.
- Check Google Search Console's Enhancements section to see which schema types Google has detected on your site.
Common Mistakes
Invisible content in schema. Google requires that content in your schema markup is also visible on the page. Don't add FAQ items to your schema that aren't displayed to users.
Wrong schema type. Using Article schema on a product page, or FAQ schema on a page without actual Q&A pairs. Match the schema type to the actual content.
Missing required properties. Each schema type has required and recommended properties. Missing required ones means Google will ignore the markup entirely.