Schema markup is a small piece of code that describes your page to search engines in a standard format: this is an article, this is the author, this is a product with this rating. Google calls it structured data. It can make a page eligible for richer search results, but Google says it does not guarantee them. This guide explains schema in plain English and how to add it on WordPress without writing code.
When Google reads a normal page, it has to work out what everything means. Is that number a price or a phone number? Is that name the author or someone quoted?
Schema markup removes the guesswork by labelling the important information in a format search engines understand.
Key takeaways
- Schema markup is structured data that describes a page’s content.
- It uses the shared vocabulary from Schema.org.
- Google recommends the JSON-LD format where your setup allows it.
- Structured data can make pages eligible for rich results, but does not guarantee them.
- Only mark up information that is visible on the page.
- On WordPress, SEO plugins such as Rank Math can add schema for you.
What schema markup looks like
Schema is usually added as a short block of code in the page. Readers do not see it. Search engines read it.
In plain words, the code for a blog post says things like:
- This page is an article.
- Its headline is “How Search Engines Actually Work”.
- It was written by this author.
- It was published and last updated on these dates.
- This is its main image.
Formats: JSON-LD, Microdata and RDFa
Google supports three formats. Its documentation says that, in general, it recommends JSON-LD if your site’s setup allows it. JSON-LD sits in its own block of code, separate from the visible content, which makes it easier to add and maintain.
What are rich results?
Rich results are search listings with extra features beyond the blue link and description. Depending on the type of content, they can include things such as review stars, product prices, recipe details or event dates.
Google decides when to show them. Its documentation says structured data can enable these features, but correct markup does not guarantee them. Google also changes which rich result types it supports, so check its search gallery for the current list.
Keep expectations realistic
For a typical blog post, schema mainly helps Google understand the page clearly. Do not add review or product markup to posts just to try to get stars. Mark up only what the page really contains.
Common schema types for bloggers
| Type | Use it for |
|---|---|
| Article or BlogPosting | Blog posts and guides |
| Person | The author |
| Organization | The site or business |
| BreadcrumbList | The page’s position in your site structure |
| Product and Review | Genuine product reviews with the details visible on the page |
| FAQPage | Question and answer content (Google shows FAQ rich results only for some sites) |
How to add schema in WordPress
You do not need to write the code yourself. SEO plugins handle it.
With Rank Math
Rank Math adds schema automatically based on its settings, and lets you choose a schema type for each post. In the post editor, open Rank Math’s settings and look for the Schema tab to see or change the type.
My Rank Math setup guide covers the main settings.
With other plugins
Most major SEO plugins add basic Article and Organization schema automatically. Some themes and review plugins add their own schema too, so check that you are not adding the same markup twice.
How to test your schema
- Rich Results Test: paste your URL into Google’s Rich Results Test to see which rich result types the page is eligible for and any errors.
- URL Inspection: in Search Console, inspect a URL to see detected enhancements.
- Enhancements reports: Search Console shows reports for supported structured data types it finds on your site.
Fix errors first. Warnings about optional properties are usually less urgent.
Rules to follow
- Mark up only content that is visible to readers.
- Keep the markup accurate. If the price or rating changes, the markup must change too.
- Follow Google’s general structured data guidelines and the rules for each type.
- Do not use markup to mislead, such as fake reviews or ratings.
Frequently asked questions
What is schema markup in simple words?
Code that labels the important information on a page so search engines understand it clearly.
Does schema markup improve rankings?
Google describes it as a way to help it understand pages and make them eligible for rich results. It does not guarantee better rankings or rich results.
Which schema format should I use?
Google recommends JSON-LD where your setup allows it.
Do I need to code schema on WordPress?
No. SEO plugins like Rank Math add schema for you.
How do I check if my schema is working?
Use Google’s Rich Results Test and the URL Inspection tool in Search Console.

Nayan Dhumal