Search results with star ratings, cooking times, prices, or FAQ dropdowns are rich results, and they come from schema markup. You can add schema markup to WordPress without writing a single line of code, in less than half an hour.
In this guide, you will learn how to add schema markup to WordPress, which schema types to use, how to test your markup, and the mistakes that cause most schema to fail.
In this guide
- What schema markup is and why it matters
- The 3 ways to add schema markup to WordPress
- Method 1: Rank Math (recommended)
- Method 2: Yoast SEO
- Method 3: Schema Pro
- Method 4: Manual JSON-LD code
- Which schema type to use
- What schema markup costs in 2026
- How to test your schema markup
- 7 common mistakes to avoid
- Frequently asked questions
What Is Schema Markup and Why Rich Results Matter
Schema markup is a small block of structured data, written in a format called JSON-LD, that tells Google exactly what a page is about. It uses a shared vocabulary maintained at schema.org by Google, Microsoft, Yahoo, and Yandex.
Without schema, Google has to guess whether your page is a recipe, a product, or a how-to guide. With schema, you state it plainly — this recipe takes 30 minutes and has a 4.8-star rating — and Google can show that detail as a rich result. Rich results earn more clicks than plain links, and that extra traffic costs nothing. Schema is not a ranking factor, though: it will not move you from page three to page one. Google also decides whether to show a rich result, so valid schema is a requirement, not a guarantee.
The 3 Ways to Add Schema Markup to WordPress, Compared
There are three practical ways to add schema markup to WordPress, and most site owners should pick the first.
| Method | Cost | Code needed | Best for |
|---|---|---|---|
| SEO plugin (Rank Math or Yoast) | Free to start | None | Most blogs, business sites, and stores |
| Dedicated schema plugin (Schema Pro) | From $79/year | None | Schema on many pages automatically |
| Manual JSON-LD code | Free | Yes | Developers and one-off custom pages |

The SEO plugin route is the obvious starting point: if you already run Rank Math or Yoast, you already have a schema tool installed, and the free versions cover the schema types most sites need. A dedicated plugin only earns its price when you want the same schema rules applied across hundreds of pages, and manual code gives total control but also total responsibility for every typo. Never run two schema tools at once: duplicate markup is the fastest way to lose rich results.
Method 1: Add Schema Markup to WordPress with Rank Math (Recommended)
Rank Math is our recommended way to add schema markup to WordPress: its free version covers 16 or more schema types — Article, FAQ, HowTo, Recipe, Product, Event, LocalBusiness, Video, and Person — more than any other free SEO plugin. PRO adds Course, JobPosting, and Book, plus a Schema Builder for custom types.
Step 1: Install Rank Math and run the setup wizard
From your dashboard, go to Plugins, then Add New, search for Rank Math SEO, and install it. Run the setup wizard carefully: your site type and business details feed your Organization or Person schema on every page.
Step 2: Set your default schema types
Go to Rank Math, then Titles and Meta. Under Posts, set the default schema type to Article, and set Pages to WebPage, so every new post gets sensible schema automatically.
Step 3: Add schema to a single post
Open a post, click the Rank Math panel, and select the Schema tab. Choose the matching type — HowTo for a tutorial, FAQ for a Q&A section — fill in the fields, and save.
Step 4: Check the output
Rank Math writes the schema as JSON-LD in the page source. Test it with Google’s Rich Results Test (see below): if it passes, your markup is live.
Rank Math PRO adds the remaining types and the Schema Builder: $95.88 for the first year, renewing at $107.88 a year for unlimited personal sites (verified 21 November 2026).
Method 2: Add Schema Markup to WordPress with Yoast SEO
Yoast SEO adds basic schema automatically — WebPage, Article, Organization, and BreadcrumbList — with nothing to configure. The limitation is control: Yoast free does not let you pick a schema type per post or add FAQ and HowTo schema from the editor. Those features sit in Yoast SEO Premium at $118.80 a year per site, excluding VAT (verified 21 November 2026), up from the $99 a year older reviews still quote.
Install the free plugin, complete its first-time configuration, and check your site details under Yoast SEO, then Settings, then Site basics. Premium adds FAQ and HowTo blocks that generate the matching schema automatically.
Method 3: Use a Dedicated Schema Plugin (Schema Pro)
Schema Pro, from Brainstorm Force (the team behind Astra), does one job only: it adds schema markup to WordPress automatically across your whole site. Define a rule once — add Review schema to every post in the Reviews category — and it applies to every matching page.
That automation is the reason to pay for it: setting schema post by post on a review site, recipe blog, or store with hundreds of products is slow and error-prone. Schema Pro supports more than 20 schema types and maps fields automatically — the tool built to add schema markup to WordPress at scale.
Schema Pro is premium-only, with no free version. It lists at $79 a year, or $249 for a lifetime licence, and both plans cover unlimited websites, including client sites. An introductory price of $69 a year ($229 lifetime) is commonly shown, and a Black Friday promotion of $59 a year ($199 lifetime) was live on the official pricing page on 21 November 2026. Renewals are charged at the full list price, so budget for $79 a year.
To set it up, install the plugin, add a schema, pick its type and display rules, map the fields, and save — then test a few sample pages.
Method 4: Add Schema Markup Manually with JSON-LD Code
Manual JSON-LD is the free, code-based way to add schema markup to WordPress: you write a small block of code describing the page and add it to the page’s head or body. It suits developers and single pages with unusual requirements that no plugin covers.
A minimal Article schema:
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Add Schema Markup to WordPress",
"author": { "@type": "Person", "name": "Jane Smith" },
"datePublished": "2026-11-21"
}
To add code like this, paste it into a Custom HTML block, use a snippets plugin such as WPCode, or add it through your child theme. A snippets plugin is safest, because it survives theme updates.
Manual code has real risks: a missing comma breaks the whole block, and Google silently ignores invalid markup. Update it by hand whenever the page changes, and use it only when a plugin cannot do what you need.
Which Schema Type to Use for Each Kind of Content
Picking the wrong schema type is one of the most common beginner mistakes when you add schema markup to WordPress. The type must describe what the page actually is, not what you wish it were.
| Content | Schema type | Rich result it can unlock |
|---|---|---|
| Blog post or news article | Article, BlogPosting, or NewsArticle | Top stories, article enhancements |
| Question-and-answer section | FAQPage | FAQ dropdown in search results |
| Step-by-step tutorial | HowTo | How-to steps with images |
| Product page | Product with Offer and AggregateRating | Price, availability, and star ratings |
| Review of one product | Review | Star rating on the review page |
| Local business page | LocalBusiness | Business details and opening hours |
| Every page on your site | BreadcrumbList | Breadcrumb trail under the title |
How Much Schema Markup Costs in 2026
Adding schema markup to WordPress costs nothing for most sites: Rank Math free covers the schema types a typical blog or business site needs, and Yoast free adds basic schema automatically. You only pay for automation across many pages, advanced types, or a visual builder.
| Tool | Free version | Paid price (verified 21 November 2026) | Schema included |
|---|---|---|---|
| Rank Math | Yes, 16+ types | PRO $95.88 first year, then $107.88/year | 20+ types, Schema Builder |
| Yoast SEO | Yes, basic only | Premium $118.80/year per site, ex VAT | FAQ and HowTo blocks |
| Schema Pro | No free version | $79/year or $249 lifetime (list price) | 20+ types, display rules |
| Manual JSON-LD | Free | $0 | Any type, but you write it |
Treat these figures as a snapshot from 21 November 2026 and confirm the current price before you buy. The renewal price matters most: Rank Math PRO renews at $107.88 a year and Schema Pro at its $79 list price.
How to Test and Validate Your Schema Markup
After you add schema markup to WordPress, never assume it works: invalid markup produces no rich results and no error message on your site. Test every important page with Google’s two free tools below.
Google’s Rich Results Test
Open the Rich Results Test at search.google.com/test/rich-results and test a marked-up page URL. Google tells you which rich result types it found and whether each one is valid — fix any errors, then retest until it passes.

Google Search Console
After your pages pass the individual test, open Google Search Console and look under Enhancements. Google lists every rich result type detected, with valid and invalid counts — this is where you catch problems affecting many pages at once, such as a missing field in your Product schema. New to Google’s tools? Our guide to how to add Google Analytics to WordPress walks through the same verification process.
7 Common Schema Markup Mistakes to Avoid
Most failures when you add schema markup to WordPress come from a short list of avoidable errors — check your site against each one.
1. Duplicate schema from two plugins. Running Rank Math and Yoast together, or a plugin plus manual code, writes the same schema twice. Google sees conflicting data and may ignore both, so pick one schema tool.
2. The wrong schema type. A review roundup is an Article, not a Review, and a product category page is not a Product. Match the type to the page’s real content.
3. Markup that does not match visible content. Every piece of schema data must appear on the page itself. Do not add star ratings, prices, or FAQs to your schema unless visitors can see them — hidden markup is the fastest route to a manual action.
4. Missing required fields. A Product without a price, or a Recipe without an image, will fail validation. Fill in every required field, then retest.
5. Adding FAQ schema to pages without FAQs. FAQPage schema belongs only on pages with a genuine question-and-answer section. Adding it to a sales page is spam in Google’s eyes, and Google has already removed FAQ rich results for most sites that abused them.
6. Forgetting breadcrumbs. BreadcrumbList schema is small, automatic in both Rank Math and Yoast, and easy to overlook. It replaces the plain URL under your title with a readable path. Make sure it is turned on, and that your sitemap reflects the same structure.
7. Never testing after changes. Schema that worked in January can break in March after a theme update. Add a monthly Search Console check to your routine, alongside the other items in our WordPress security checklist.
Frequently Asked Questions
Is schema markup free to add to WordPress?
Yes. Rank Math’s free plugin includes 16 or more schema types at no cost, and you can also write JSON-LD code yourself. Most small sites never need the paid tools.
Does schema markup improve Google rankings?
Not directly: schema markup is not a ranking factor, so it will not move your page up the results on its own. It can earn you rich results, which take up more space and attract more clicks from the position you already hold.
Do I need to add schema markup to WordPress manually?
No, not in most cases. The easiest way to add schema markup to WordPress is with a plugin such as Rank Math or Yoast, which generates the JSON-LD code for you. Manual code is only needed for types no plugin supports.
How long does it take for rich results to appear?
Usually a few days to a few weeks after Google recrawls the page and validates the markup. Speed up the recrawl by requesting indexing in Google Search Console.
Why is my schema valid but no rich result is showing?
Google decides whether to show a rich result; valid markup is only the entry requirement. Common reasons: a page Google has not recrawled yet, a page below Google’s quality bar, or a limited result type — FAQ results now appear mainly for government and health sites.
Our Verdict
The simplest way to add schema markup to WordPress is Rank Math free: install it, set your default schema types once, and pick the right type for each post. It costs nothing, covers the schema types most sites need, and passes Google’s validation when the required fields are filled in. Pay for Schema Pro only when you need the same schema across many pages, and use manual JSON-LD only for one-off pages. Test every important page in the Rich Results Test and check Search Console monthly.
Conclusion
Schema markup is one of the highest-value, lowest-effort improvements you can make to a WordPress site. It takes less than an hour to set up, costs nothing with a free plugin, and can win you star ratings, prices, FAQs, and how-to steps in the search results. Choose one method, match the schema type to the page’s real content, and test everything with Google’s tools.
Start today: install Rank Math, set your default types, and add FAQ or HowTo schema to your best-performing post. Then keep your site fast with our guide to how to speed up WordPress as your next step. Once you know how to add schema markup to WordPress, every new post can carry the structured data that helps Google show it at its best.
Prices in this article were verified on 21 November 2026 from the vendors’ own pricing pages and independent 2026 reviews. Prices change often, so confirm the current figure on the vendor’s pricing page before you buy.
External sources: Schema.org and Google Search Central — Introduction to Structured Data.