Have you ever noticed certain Google search results with star ratings, prices, FAQs, or event dates displayed directly in the results page — before you even click? Those are rich snippets, and they're powered by schema markup.
Schema markup is structured data code added to your WordPress pages that communicates specific, machine-readable information to Google — what type of content a page contains, who wrote it, what products it sells, what questions it answers. Google uses this data to display enhanced search results that are more visually compelling and informative.
For WordPress site owners, schema markup is one of the highest-leverage SEO improvements available — and with the right plugin, most of it can be added with zero coding.
Schema markup (also called structured data) is a standardised vocabulary of tags — defined at schema.org, a joint project of Google, Bing, Yahoo, and Yandex — that you embed in your web pages to help search engines understand the content in a structured way.
While a search engine crawler can read your page text, it has to infer context. Schema markup removes the inference — you directly tell Google:
Google uses this data to generate rich snippets — enhanced search result appearances beyond the standard blue link, title, and description.
For blog posts. Includes author, publication date, modified date, and headline.
For pages with FAQ content. Creates expandable Q&A dropdowns in search results.
For tutorial and step-by-step content. Steps listed directly in search results.
For WooCommerce or product pages. Enables price, availability, and review stars.
Star ratings in search results. Can apply to products, services, or local businesses.
For physical locations. Includes name, address, phone, hours, and geo-coordinates.
Breadcrumb navigation displayed in search results (replaces or supplements the URL).
For author profiles. Helps establish author expertise and E-E-A-T signals.
Enables the sitelinks search box in Google results for your domain.
For events with dates, locations, and ticket information.
For food blogs. Recipe cards in search results with images, ratings, and prep time.
For video content. Video rich snippets with thumbnail, duration, and upload date.
Rank Math includes schema markup support for 20+ schema types in its free version — the most comprehensive schema support available without premium features.
Automatic Schema (Always Active)
Rank Math automatically adds these schema types without any configuration:
Configure Schema Per Post
For each post or page, you can add additional schema types:
Adding FAQ Schema in Rank Math:
Adding HowTo Schema:
Global Schema Settings: Go to Rank Math → Titles & Meta → Posts to set the default schema type for all posts (Article is the default and appropriate for most blogs).
Yoast automatically adds several schema types for all pages:
FAQ and HowTo schema in Yoast Free:
Add FAQ blocks and HowTo blocks directly in the WordPress block editor:
Product schema — Requires Yoast WooCommerce SEO plugin (premium).
AIOSEO handles schema similarly to Rank Math with a schema generator:
AIOSEO's free version covers Article, FAQPage, and basic types. Advanced schema types (Product, Review, Recipe) require pro.
For developers or specific cases not covered by plugins, add schema markup manually using JSON-LD (the format Google recommends).
FAQ schema example:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "What is WordPress?",
"acceptedAnswer": {
"@type": "Answer",
"text": "WordPress is an open-source content management system (CMS) used to build and manage websites."
}
},
{
"@type": "Question",
"name": "Is WordPress free?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, WordPress.org software is free to download and use. You'll need to pay for hosting and potentially for premium themes and plugins."
}
}]
}
</script>
Add this to your post template via wp_head hook in functions.php, or use the Insert Headers and Footers plugin to add it to specific pages.
Local Business schema example:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ProfessionalService",
"name": "AceMindTech",
"description": "WordPress development company specialising in custom WordPress solutions",
"url": "https://www.acemindtech.com",
"telephone": "+91-XXXXXXXXXX",
"address": {
"@type": "PostalAddress",
"streetAddress": "Your Street Address",
"addressLocality": "Your City",
"addressRegion": "Your State",
"postalCode": "XXXXXX",
"addressCountry": "IN"
}
}
</script>
After adding schema, always validate it:
Go to search.google.com/test/rich-results
Go to validator.schema.org
Paste your page URL or the JSON-LD code directly. The validator checks for schema.org compliance and shows errors.
After Google crawls your pages with schema markup, Search Console's Enhancements section shows:
Even with valid schema markup, Google doesn't guarantee showing rich snippets. Reasons they may not appear:
Schema markup is one of the highest-leverage WordPress SEO investments with no downside — it either improves how you appear in search results or it has no effect. There's no risk of penalty for correctly implemented schema.
Start with FAQPage schema on your most important posts — it's the easiest to implement and one of the most visually impactful in search results. Then add LocalBusiness schema to your homepage and contact page. Use Rank Math's schema generator or Yoast's FAQ blocks for everything else.
Need help implementing schema markup across your WordPress site? Our SEO team handles structured data implementation as part of our WordPress SEO service.
Contact us today and we'll sort it out.