Schema Markup & Structured Data for WordPress: The Complete Guide to Rich Results
Schema markup is the difference between a plain blue link in Google and a rich result with star ratings, FAQ dropdowns, and recipe cards. Here's how to implement structured data on your WordPress site and unlock every rich result available to you.
What Is Schema Markup and Why Does It Matter?
Schema markup (also called structured data) is code you add to your web pages that helps search engines understand your content. It's a standardised vocabulary — defined at Schema.org — that tells Google not just what your page says, but what it means.
Without schema: Google reads your page and makes its best guess about what it contains.
With schema: You tell Google exactly what your page contains — it's a recipe, it's a product, it's a FAQ, it's a local business — and Google can use that information to display rich results in search.
What Are Rich Results?
Rich results are enhanced search listings that go beyond the standard blue link, URL, and meta description. They include:
- Star ratings — Displayed for products, recipes, courses, and local businesses
- FAQ dropdowns — Questions and answers displayed directly in search results
- HowTo steps — Step-by-step instructions shown in search
- Recipe cards — Cooking time, calories, ratings, and ingredients
- Event listings — Date, time, and location for events
- Breadcrumbs — Site navigation path shown in the URL
- Sitelinks search box — A search box for your site within your Google listing
- Video thumbnails — Video preview images in search results
Rich results dramatically improve click-through rates. FAQ rich results can double or triple the space your listing takes up in search results. Star ratings make your listing stand out visually. These are free upgrades to your search presence — you just need to implement the schema.
How to Implement Schema Markup on WordPress
There are three ways to add schema markup to WordPress:
1. Use Your SEO Plugin (Recommended for Most Sites)
Rank Math, Yoast, and SEOPress all include schema markup features. Rank Math is the most comprehensive — it supports 20+ schema types in the free version and makes implementation straightforward through its post editor interface.
For Rank Math: Edit any post or page → Schema tab → Choose schema type → Fill in the fields. Rank Math generates the JSON-LD code automatically.
2. Use a Dedicated Schema Plugin
For more complex schema needs, dedicated plugins like Schema Pro or WP Schema Pro offer more control and support for additional schema types.
3. Add JSON-LD Manually
For developers or sites with specific requirements, you can add JSON-LD schema directly to your page templates or via a custom plugin. JSON-LD is Google's preferred format — it's added in a <script type="application/ld+json"> tag and doesn't require modifying your HTML structure.
The Most Important Schema Types for WordPress Sites
Article / BlogPosting Schema
Every blog post should have Article or BlogPosting schema. This tells Google it's a piece of editorial content and enables features like the Top Stories carousel for news sites.
Key properties:
- headline (your post title)
- author (name and URL)
- datePublished and dateModified
- image (featured image URL, width, height)
- publisher (organisation name and logo)
- description (your meta description)
Rank Math adds this automatically to all posts. Verify it's working with Google's Rich Results Test.
FAQPage Schema
FAQPage schema is one of the highest-impact schema types available. When implemented correctly, Google displays your FAQ questions and answers directly in search results, dramatically expanding your listing's real estate.
To qualify for FAQ rich results:
- Your page must contain a list of questions with answers
- The questions and answers must be visible on the page (not hidden behind a click)
- The content must be factual and not promotional
Implementation with Rank Math: Add an FAQ block to your post using the Rank Math FAQ block, or use the Schema tab to add FAQPage schema manually.
Best practice: Add an FAQ section to every major guide and how-to post. Target question-based keywords ("how do I," "what is," "why does") in your FAQ questions.
HowTo Schema
HowTo schema is perfect for tutorial and guide content. It tells Google your page contains step-by-step instructions and can trigger rich results showing your steps directly in search.
Key properties:
- name (the task being accomplished)
- description
- totalTime (how long the task takes)
- step (array of steps, each with name, text, and optionally an image)
- tool and supply (what's needed)
Product Schema
Essential for WooCommerce stores. Product schema enables star ratings, price, and availability to appear in search results. Rank Math adds this automatically to WooCommerce product pages.
Key properties:
- name, description, image
- sku, brand, model
- offers (price, priceCurrency, availability)
- aggregateRating (ratingValue, reviewCount)
LocalBusiness Schema
For businesses with a physical location, LocalBusiness schema (or a more specific subtype like Restaurant, Dentist, or Plumber) helps Google understand your business and can improve your local search presence.
Key properties:
- name, address, telephone, url
- openingHoursSpecification
- geo (latitude and longitude)
- priceRange
- servesCuisine (for restaurants)
BreadcrumbList Schema
Breadcrumb schema enables the breadcrumb navigation path to appear in your search listing instead of the URL. This improves click-through rates and helps users understand where a page sits in your site structure.
Enable breadcrumbs in your SEO plugin settings. Most plugins add BreadcrumbList schema automatically when breadcrumbs are enabled.
WebSite Schema with Sitelinks Search Box
Adding WebSite schema with a SearchAction property can enable a search box for your site within your Google listing. This is particularly valuable for large sites with lots of content.
VideoObject Schema
If you embed videos in your content, VideoObject schema can enable video thumbnails in search results. Key properties: name, description, thumbnailUrl, uploadDate, duration, contentUrl.
Schema Markup Best Practices
- Only mark up content that's visible on the page — Don't add schema for content that's hidden or not present. Google will penalise misleading schema.
- Be accurate — Schema is a direct communication with Google. Inaccurate schema (fake reviews, incorrect prices) can result in manual penalties.
- Use JSON-LD format — Google prefers JSON-LD over Microdata or RDFa. It's easier to implement and maintain.
- Test before publishing — Use Google's Rich Results Test (search.google.com/test/rich-results) to verify your schema is valid and eligible for rich results.
- Monitor in Search Console — The Enhancements section of Google Search Console shows errors and warnings in your structured data. Check it regularly.
- Don't over-schema — Only add schema types that are genuinely relevant to your content. Adding irrelevant schema doesn't help and can confuse Google.
Common Schema Markup Mistakes
- Missing required properties — Every schema type has required properties. Missing them means your schema won't qualify for rich results.
- Incorrect @type — Using Article when you should use BlogPosting, or LocalBusiness when you should use Restaurant.
- Duplicate schema — Having both your SEO plugin and a theme adding the same schema type creates conflicts.
- Outdated prices or availability — Product schema with incorrect prices or availability can result in Google penalties.
- Not testing after changes — Always test your schema after making changes to your site or SEO plugin settings.
Measuring Schema Markup Impact
Track the impact of your schema implementation in Google Search Console:
- Enhancements reports — Shows which pages have valid structured data and any errors
- Performance report — Filter by search appearance to see impressions and clicks from rich results specifically
- Click-through rate changes — Compare CTR before and after implementing schema for specific pages
Schema markup is one of the few SEO tactics that can deliver immediate, visible results in search. Implement it correctly and you'll see your listings transform from plain blue links into rich, eye-catching results that stand out from the competition.
Explore Topics
Written by
WP SEO Beast
Content creator and writer sharing insights and stories.