SEO

Schema Markup Explained: What Structured Data Is, Which Types Small Businesses Need and How to Add It in WordPress

Schema markup explained, including how to create Article schema markup in JSON-LD, which types small businesses need and how to set it up in WordPress.

Schema Markup Explained: What Structured Data Is, Which Types Small Businesses Need and How to Add It in WordPress
On this page
  1. What schema markup is
  2. What it does and doesn't do
  3. JSON-LD, microdata and RDFa
  4. The schema types small businesses actually need
  5. A JSON-LD example for a local business
  6. How to create Article schema markup
  7. How WordPress SEO plugins output schema
  8. Rules that keep schema on the right side of Google
  9. FAQ schema: still worth adding?
  10. Quick check: what schema does your page output now?
  11. When to get help
  12. FAQs
Key takeaways
  • Schema markup is structured data, usually JSON-LD, that tells search engines exactly what a page describes; it helps Google understand a page but guarantees neither rankings nor rich results.
  • Most small business sites need Organization or LocalBusiness, Service or Product, Article and BreadcrumbList; FAQ rich results are now limited and self-serving review stars are not shown.
  • Let one SEO plugin generate the core schema, add custom JSON-LD only for gaps, mark up only what is visible on the page, and test every template after changes.

To create Article schema markup, add a JSON-LD script to the post with the headline, author, publish and update dates, image and publisher, or let an SEO plugin such as Yoast or Rank Math generate it, then test the page in Google's Rich Results Test. More broadly, schema markup is structured data added to a page's code, usually as a block of JSON-LD, that tells search engines exactly what the page describes: a business with an address and opening hours, a product with a price, an article with an author, a set of breadcrumbs. Visitors don't see it. It helps Google understand the page and can make it eligible for rich results such as product prices or breadcrumb trails, but it doesn't guarantee those displays and isn't a ranking boost on its own.

Structured data for your business, services, products and articles is part of my WordPress SEO services, checked with Google's testing tools afterwards. Some rich results, FAQ in particular, have been heavily restricted.

Once your markup is in place, how to test structured data and rich results shows how to check it and fix errors.

What schema markup is

Schema.org is a shared vocabulary for describing things on the web, launched in 2011 by Google, Microsoft and Yahoo, with Yandex joining later that year. It defines types, such as LocalBusiness, Product and Article, and properties for each, such as address, price and author. When you add that vocabulary to a page in a format search engines read, you have structured data, and "schema markup" is the everyday name for it.

The point is to remove guesswork. A human reading your contact page knows that "Kothrud, Pune 411038" is an address and "10 am to 8 pm" are opening hours. Structured data states it explicitly, in a form a machine can't misread. The website glossary explains other terms like this in plain English.

What it does and doesn't do

Schema canSchema can't
Help Google understand your business, products, articles and page structurePush a weak page up the rankings by itself
Make a page eligible for rich results, such as product price and availability, breadcrumbs, events or recipesForce Google to show a rich result; Google decides per search
Keep your business details consistent across your site and your Business ProfileFix wrong details elsewhere, such as an outdated directory listing
Describe content clearly for other tools that read structured dataReplace clear writing on the page itself

JSON-LD, microdata and RDFa

FormatHow it worksWhen you'd use it
JSON-LDA separate script block in the page, not mixed into the visible HTMLAlmost always. Google recommends it, and WordPress SEO plugins output it
MicrodataAttributes added to the visible HTML elements themselvesOlder themes and plugins; harder to maintain
RDFaSimilar attributes, from a different standardRarely on business sites

If an old theme outputs microdata and your SEO plugin outputs JSON-LD for the same thing, you can end up with two conflicting descriptions. Stick to JSON-LD where you have the choice.

The schema types small businesses actually need

TypeUse it forNotes
Organization or PersonWho is behind the website: name, logo, contact details and social profilesUsually set once, site-wide, in your SEO plugin
LocalBusiness and its subtypesAddress, phone, hours, location and area servedUse the most specific type that fits, such as Dentist, Restaurant, Plumber or ProfessionalService
ServiceIndividual service pagesNo dedicated rich result, but describes what you offer
Article or BlogPostingBlog posts and guides, with author and datesHelps Google pick the right headline, image and dates
BreadcrumbListYour page hierarchyCan show a breadcrumb trail in results; see breadcrumbs explained
Product with OfferStore products: price, currency, availability, shipping and returnsCan enable product rich results; WooCommerce adds the basics
FAQPageQuestions and answers visible on a pageFAQ rich results are now limited to a small group of authoritative sites
Review and AggregateRatingRatings for products and similar itemsStars aren't shown for reviews a business marks up about itself on LocalBusiness or Organization
Event, Recipe, VideoObject, CourseSpecialist contentOnly if the page genuinely is that thing

Google has retired or narrowed several rich result types over the years, including HowTo results in 2023, so check its Search Gallery documentation for what is currently supported before promising anyone a particular display.

A JSON-LD example for a local business

This is what LocalBusiness markup for a dental clinic in Pune might look like. It sits in the page's code, usually added by your SEO plugin rather than typed by hand:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "@id": "https://example.com/#business",
  "name": "Example Dental Clinic",
  "url": "https://example.com/",
  "logo": "https://example.com/images/logo.png",
  "image": "https://example.com/images/clinic-reception.jpg",
  "telephone": "+91-98000-00000",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "12 Example Road, near Example Chowk, Kothrud",
    "addressLocality": "Pune",
    "addressRegion": "Maharashtra",
    "postalCode": "411038",
    "addressCountry": "IN"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 18.5074,
    "longitude": 73.8077
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
    "opens": "10:00",
    "closes": "20:00"
  }],
  "sameAs": [
    "https://www.facebook.com/example",
    "https://www.instagram.com/example"
  ]
}
</script>
  • @type uses the most specific type available, here Dentist rather than plain LocalBusiness.
  • @id gives the business a stable identifier, so other markup on the site, such as articles, can refer to the same entity.
  • name, address and telephone must match your Google Business Profile and your contact page exactly.
  • openingHoursSpecification must be kept up to date when hours change, or it contradicts the page.
  • sameAs lists your official profiles elsewhere, so search engines can connect them to the business.

How to create Article schema markup

Article markup (or its subtypes BlogPosting and NewsArticle) tells Google which headline, image, author and dates belong to a post. Google lists no required properties for it, but the recommended ones below are what make it useful.

PropertyWhat to put in itCommon mistake
headlineThe post title as shown on the pageA different, keyword-stuffed title
imageOne or more large, crawlable images from the postThe site logo instead of the article image
authorA Person or Organization with a name and a url to an author or about pageAuthor name typed into the headline field, or several names in one
datePublishedThe first publish date, in ISO 8601 format with a time zoneA date that does not match the visible date
dateModifiedThe date of the last meaningful updateChanging it on every save without real edits
publisherYour Organization, ideally referenced by its @idA second, slightly different organisation name

Steps to create it

  1. Use your SEO plugin first. Yoast and Rank Math output Article or BlogPosting for posts once the site representation (organisation or person, logo) is set; choose the article type in the post's Schema tab.
  2. Write it by hand only if you have no plugin, or need a property it lacks, and add the JSON-LD through a small custom plugin or child theme.
  3. Match the page. The headline, author and dates in the markup must be the ones readers see.
  4. Test it in the Rich Results Test and the Schema Markup Validator, then check Search Console's enhancement reports after Google recrawls.

A minimal hand-written example looks like this:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "How to Choose a Dental Clinic in Pune",
  "image": ["https://example.com/images/clinic-guide.jpg"],
  "datePublished": "2026-10-01T09:00:00+05:30",
  "dateModified": "2026-10-20T11:30:00+05:30",
  "author": { "@type": "Organization", "name": "Example Dental Clinic", "url": "https://example.com/about/" },
  "publisher": { "@id": "https://example.com/#business" }
}
</script>

How WordPress SEO plugins output schema

On WordPress you rarely write JSON-LD by hand. The main SEO plugins build a connected set of schema for every page from their settings:

SourceWhat it outputsWhere you control it
Yoast SEOOne connected graph: WebSite, WebPage, Organization or Person, Article and BreadcrumbListSite representation in Yoast's settings for the organisation or person and logo; a Schema tab on each post for page and article type. Detailed local business markup comes from its paid local add-on
Rank MathA similar graph, plus a schema generator for types such as Service, Product, Event and RestaurantTitles & Meta and the Local SEO module for business details; a Schema tab in the editor for each page
WooCommerceProduct markup with price and availabilityProduct data; SEO plugins can extend it with brand, identifiers and more
Page builders and FAQ blocksSometimes their own FAQPage or other markupBlock or widget settings; check for duplicates
Custom codeAnything specific the plugin can't doA small custom plugin or a child theme

Menu names and which features need a paid version change between releases, so treat this as a guide at the time of writing. The golden rule is one main source: two SEO plugins, or an SEO plugin plus a separate schema plugin, often output duplicate or conflicting markup. Yoast vs Rank Math vs All in One SEO compares the plugins more broadly, and WooCommerce SEO covers product markup for stores.

Rules that keep schema on the right side of Google

  • Mark up only what is visible. Every fact in the markup should appear on the page. Hidden prices, invented ratings or FAQs that aren't on the page break Google's guidelines.
  • No self-serving review stars. Review markup for your own business on your own site won't produce stars, and fake reviews in markup can lead to a manual action. Showing genuine Google reviews on the page is fine; how to show Google reviews on your website explains how without misleading markup.
  • Keep it consistent with your Business Profile, contact page and directory listings.
  • Keep it current. Prices, availability, hours and dates in markup must change when the page changes.
  • Avoid duplicates from overlapping plugins, themes and blocks.

FAQ schema: still worth adding?

In 2023 Google limited FAQ rich results to well-known, authoritative government and health websites, so for almost every business site FAQ markup no longer produces expandable questions in search results. It can still describe your questions and answers clearly, as long as they are visible on the page, but don't expect a visible change. FAQs for SEO covers how to write FAQ sections that help readers and rankings regardless of the markup.

Structured data is also part of being understood by AI tools; see AI search and your website.

Quick check: what schema does your page output now?

Enter a page URL in Google's Rich Results Test to see which rich result types Google can read and any errors, then run the same URL through the Schema Markup Validator to see every type on the page. Two Organization or LocalBusiness entries usually means your theme and SEO plugin are both outputting schema. In Search Console, the Enhancements section lists errors across the whole site.

For stores, product data also feeds Google Shopping; see Google Merchant Center for WooCommerce and WordPress.

When to get help

Get help when plugins output conflicting schema, when your markup does not match your Business Profile, or when you need custom JSON-LD the plugins cannot produce. Structured data is part of WordPress SEO services, and you can hire a WordPress developer for custom markup. To start, send your website address.

FAQs

How to create article schema markup?

Let your SEO plugin output Article or BlogPosting for posts, or add a JSON-LD block with headline, image, author, datePublished, dateModified and publisher that matches the visible page. Then test it in Google's Rich Results Test.

Does schema markup improve rankings?

Not directly. It helps Google understand your pages and can make them eligible for rich results, which may improve how your listing looks. Rankings still depend on content, links and how well the page answers the search.

Do I need to add schema if I use Yoast or Rank Math?

They cover the core types automatically once configured: organisation or person, website, pages, articles and breadcrumbs. Check their business details settings, then add specific types such as LocalBusiness, Service or Product where the plugin doesn't.

Is FAQ schema still worth adding?

It is harmless if the questions are visible on the page, but FAQ rich results are now limited to a small group of authoritative sites, so don't expect dropdowns in search results.

Can I show review stars for my business in Google?

Not from markup on your own site about your own business. Stars from your Google reviews appear on your Business Profile; product review stars are possible for genuine product reviews in a store.

Should I use JSON-LD or microdata?

JSON-LD. Google recommends it, it is easier to maintain because it sits apart from the visible HTML, and it is what WordPress SEO plugins output.

Need help with your website?

I'm a freelance WordPress developer building fast, SEO-friendly websites since 2020. Tell me what you need and I'll reply with a plan and a fixed quote, usually within 24 hours.

Found this useful? Share it:
Contact

Let's build your next website

Available for freelance projects, agency white-label work and long-term maintenance. Feel free to pass this along to your team or company.

I reply within 24 hours, usually the same day. Your details are emailed to me, then WhatsApp opens so we can chat right away.

Chat now