Schema Markup in WordPress: Structured Data Explained Simply

Titelbild: Schema Markup in WordPress: Strukturierte Daten einfach erklärt

Schema markup is a standardized form of structured data in JSON-LD format that tells search engines and AI systems unambiguously what a page is about—such as a company, blog post, product, or FAQ. In WordPress, the easiest way to implement it is through an SEO plugin like Yoast SEO and validate the output with Google's Rich Results Test.

For people a page is immediately understandable: you see headings, images, prices and contact details. Machines first have to interpret that. With Schema markup in WordPress you describe content unambiguously so that search engines and AI systems can classify it correctly. In this article you will learn what structured data is, which types matter for company sites, blogs and shops, how to set them up with and without a plugin, how to test them and which mistakes to avoid.

A special case is covered in FAQ schema in WordPress. Why structured data is also relevant for AI answers is explained in SEO for AI and GEO optimization for WordPress.

Infographic: schema markup in WordPress, JSON-LD, important types, setup via plugin and testing with the Rich Results Test
Infographic: Set up schema markup in WordPress (click to enlarge)

What is schema markup?

Schema markup is based on the vocabulary of schema.org, a joint initiative of major search engines. It is a catalog of types and properties with which you describe content: a page is an article (Article) with author, date and headline, a company (Organization) with name, logo and contact, a product (Product) with price and rating. Technically this is usually written as JSON-LD into the code of the page, a block that is invisible to visitors but is read by machines.

An example

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Example Web Design Ltd",
"url": "https://example.com",
"logo": "https://example.com/logo.png",
"sameAs": ["https://www.linkedin.com/company/example"]
}
</script>

A typical Organization snippet defines properties such as @type, name, url, logo, and sameAs inside a JSON-LD block. It tells machines unmistakably: here is a company with this exact name, this web address, this logo, and these official profiles. Nothing more is needed for its core identity.

Illustration on schema markup in WordPress

Why schema markup matters

  • Better classification: Search engines understand page type and content more precisely.
  • Rich results: For certain types Google can show enhanced displays, such as star ratings, prices, breadcrumbs or events. Not every type is guaranteed to lead to an enhanced display.
  • Brand and entity clarity: With Organization and sameAs you help systems clearly recognize your brand and link it with profiles.
  • AI understanding: Structured data provides clear facts that AI systems can use when summarizing. That is not a guaranteed effect, but clean data never hurts.
  • Consistency: It forces you to keep name, address and details uniform.

The most important schema types for WordPress sites

Organization and LocalBusiness

Describes your company: name, logo, contact, profiles and, for local businesses, address, opening hours and service area. Belongs on the home page or as global information on all pages.

WebSite and WebPage

Describes the website and the individual page. Yoast and similar plugins generate them automatically.

Article and BlogPosting

For blog posts: headline, author, publication date, modification date and image. This helps with classification and freshness.

BreadcrumbList

Shows the path of the page in the structure, for example Home, Guides, Post. Can be displayed as a path in search.

Product and Offer

For products in an online store: name, description, SKU, price, currency, availability, and genuine customer reviews. WooCommerce and major SEO plugins generate this markup automatically—just inspect your source code to ensure WooCommerce and a second plugin do not output duplicate Product markup at the same time.

FAQPage

Marks up questions and answers on a page. Since 2023, Google has restricted FAQ rich results primarily to authoritative government and health sites, yet the markup remains valuable for semantic clarity and AI systems. Find all details in FAQ schema in WordPress.

Person

For authors: name, description, profiles. Helps prove expertise and authorship.

Service and Review

For services and genuine product or customer reviews. Keep in mind that Google does not display review star snippets in search results for the Service type or self-serving business reviews. Only mark up reviews that are visibly displayed on the specific page.

Set up schema markup in WordPress

Option 1: With an SEO plugin

The simplest way. Plugins such as Yoast SEO, Rank Math or All in One SEO generate many schema types automatically and can be configured.

  1. Maintain basic information: In the plugin settings, enter the website type (company or person), name, logo and social profiles.
  2. Assign page types: Set per post type whether it is marked up as an article, web page or something else.
  3. Maintain author information: Complete the authors' profiles.
  4. Enable breadcrumbs: Integrate the navigation path in the theme and output it as schema.
  5. Use special blocks: Such as FAQ or how-to blocks in the editor.

Option 2: With a dedicated schema plugin

For more control there are plugins with which you freely choose types per page. This is worthwhile for special requirements, such as events, courses or local businesses with several locations. Pay attention to maintenance and compatibility.

Option 3: Manually via JSON-LD

You insert the code via a plugin for scripts in the head or via the theme functions. This is flexible but requires care. If content changes, the markup has to be adjusted. Avoid duplicate output if your SEO plugin already generates schema.

In practice: Schema markup with Yoast SEO step by step

Yoast SEO is the most widely used plugin and by default generates a coherent schema graph of website, page, article, organization or person and breadcrumbs. To make the result clean, check these points:

  1. Website representation: Under “Yoast SEO, Settings, Site basics” you choose whether the site represents a company or a person, and enter name, logo and tagline.
  2. Social profiles: Under “Social profiles” you enter the official pages. These end up as sameAs in the markup and help assign your brand.
  3. Content types: Under “Content types” you set the page type and article type for posts, for example BlogPosting for guides and WebPage for service pages.
  4. Authors: In the user profiles maintain name, description and profile picture. This improves the Person markup.
  5. Blocks in the editor: With the Yoast FAQ block, you generate matching FAQPage markup directly from your visible content (the How-to block is no longer needed for Google rich results).
  6. Check: Open a page in the Rich Results Test and check the detected types.

If you use an additional schema plugin, it can generate duplicate blocks. Check the source code and deactivate the schema output in one of the two tools to avoid contradictions.

Example: BlogPosting marked up correctly

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "WordPress Caching: Types and Setup",
"datePublished": "2026-03-10",
"dateModified": "2026-11-18",
"author": {"@type": "Person", "name": "Max Example"},
"publisher": {"@type": "Organization", "name": "Example Web Design Ltd"},
"image": "https://example.com/image.webp",
"mainEntityOfPage": "https://example.com/wordpress-caching/"
}
</script>

A complete BlogPosting markup connects headline, description, image, datePublished, dateModified, as well as author (as a Person entity) and publisher (as an Organization). Update dateModified only when you have genuinely revised the content—an artificially refreshed date undermines trust with both readers and search engines.

Schema markup for local businesses

Businesses with a physical location benefit particularly from LocalBusiness markup. Specify name, address, phone number (NAP data), opening hours, service area, and website accurately. All details must match your Google Business Profile, legal notice, and contact page, as even minor discrepancies in legal form or street numbers confuse search engines. Service providers without a storefront can use an appropriate subtype such as ProfessionalService or the Service type with areaServed to define their service region cleanly.

Schema markup for shops

In WooCommerce, the platform automatically generates Product markup including name, price, currency, stock availability, and reviews. Regularly check in the Rich Results Test that the price in the markup matches the displayed gross price—common causes of mismatches include caching plugins, dynamic discounts, product variations, or prices loaded via JavaScript. For technical store optimization tips, see our guide WooCommerce too slow.

The schema graph: How the parts fit together

Modern plugins connect the individual types into a graph. The website points to the organization, the page belongs to the website, the article belongs to the page and has an author and a publisher. These links via unique identifiers (@id, such as https://yourdomain.com/#organization or /#website) help machines understand how all entities relate to one another. Instead of isolated individual blocks, this creates a connected knowledge graph of your entire website. If you intervene manually, use the same identifiers so that your markup fits into the graph and does not duplicate it.

Which types to use on which page

  • Home page: WebSite, Organization or LocalBusiness.
  • Service page: WebPage, Service, possibly FAQPage.
  • Guide: Article or BlogPosting, breadcrumbs, FAQ.
  • About us: AboutPage, Person or Organization.
  • Contact: ContactPage with organization and contact details.
  • Product page: Product, Offer, Review.
  • Category page: CollectionPage, breadcrumbs.

Monitoring and maintaining schema markup

After setup comes maintenance. Set fixed dates: after larger changes to the theme or plugin you check spot samples in the Rich Results Test, once a quarter you review the reports in Search Console and when contact details, prices or opening hours change you adjust the markup. Also watch whether updates of the SEO plugin change the markup. If you would rather hand this off, use Maintenance.

Testing schema markup

Test after every change:

  1. Google Rich Results Test: Shows which rich results are possible for the page and whether there are errors or warnings.
  2. Schema Markup Validator (schema.org): Checks the syntax independently of Google and shows all detected types.
  3. Search Console: Under “Enhancements”, reports appear for detected types with errors and valid items.
  4. Check the source code: Search for ld+json and check whether several contradictory blocks are present.

Distinguishing errors and warnings

Errors prevent the type from being used. Warnings concern optional fields. Fix the errors first, then decide which recommended fields you can sensibly add.

Rules for clean schema markup

  • Mark up only what is visible: Content in the markup must be on the page. Hidden or invented information violates the guidelines.
  • No false reviews: Self-reviews or purchased reviews are taboo.
  • Keep it current: Prices, opening hours and contact details must be correct.
  • Stay unambiguous: A company has one identity, not several deviating spellings.
  • Do not output twice: Plugin and theme must not both generate the same schema.
  • Stay realistic: Schema improves understanding but is not a ranking booster.

Schema markup and Google guidelines

Google sets clear requirements for structured data. The most important rules: the markup must reflect the visible content of the page, it must not be misleading, and it must not refer to content that users cannot see. Violations can lead to enhanced displays being dropped or a manual action being imposed. Also check which types are even eligible for enhanced displays: in recent years Google has strongly restricted the display of individual types, such as FAQ and how-to. The markup nevertheless remains useful for understanding, but you should not expect guaranteed stars in search results. The guidelines change occasionally, so it is worth taking a look at the official documentation from Google Search Central when you introduce new types.

Schema markup in practice: A roadmap for the first four weeks

  1. Week 1: Inventory. Check five important pages in the Rich Results Test and the validator. Note existing types, errors and duplicates.
  2. Week 2: Clean up basic data. Maintain organization, logo, social profiles, authors and contact details. Eliminate duplicate output from theme and plugin.
  3. Week 3: Adjust content types. Mark up articles, service pages and products with suitable types. Use FAQ blocks where questions are really answered.
  4. Week 4: Check and monitoring. Check Search Console, repeat spot checks and set a maintenance date.

Schema markup and local search

For businesses with a local service area, LocalBusiness markup is an essential complement to your Google Business Profile. Choose the most specific subtype (such as ProfessionalService, Dentist, or HomeAndConstructionBusiness) and add geo coordinates (geo), opening hours (openingHoursSpecification), and your service area (areaServed). Check that the details match the legal notice, contact page and directories. If they deviate, uncertainty arises for search engines and AI systems.

Typical mistakes

  • Duplicate Organization blocks from theme and plugin
  • Outdated prices or opening hours in the markup
  • Reviews that are not visible on the page
  • Missing required fields such as image or date for Article
  • Wrong type, for example Product for a service
  • Markup on pages whose content it does not reflect
  • Old entries not adjusted after a relaunch

Schema and speed

JSON-LD is small and hardly affects speed, unlike heavy plugins with a lot of JavaScript. Still: a fast, stable page is crawled and rated better. Check with Understanding PageSpeed Insightshow your values look.

Schema markup and accessibility of the data

Structured data contributes to the clarity of the page but does not replace clean markup in the visible HTML. Use the right HTML elements for headings, lists, tables and images and maintain alt texts. Both together, visible structure and machine-readable data, make a page more understandable for people with assistive technology, search engines and AI systems. A test with styles switched off quickly shows whether the page structure stays logical even without design.

Checklist

  • Organization with name, logo and profiles maintained in the SEO plugin?
  • Author profiles complete?
  • Articles marked up with date, author and image?
  • Breadcrumbs active?
  • Only visible content marked up?
  • Rich Results Test and validator without errors?
  • No duplicate blocks?
  • Tested again after larger changes?

If you need support

Structured data is part of a clean SEO foundation. Our offering around SEO optimization and Visibility in search and AI includes it. With the Pagespeed Boost at $149 we additionally ensure fast pages, and Maintenance at $99 per month keeps the technology up to date.

Schema markup and AI search: Why cleanly marked-up data matters more now

Search engines have been reading schema markup for years. What is new is that AI systems such as chatbots and answer engines can benefit from it too. When a system has to decide which company stands behind a page, which service is offered and which author wrote an article, clear, machine-readable information helps. It does not replace good copy, but it takes the guesswork out of the equation.

In practice, that means: describe your organization once, completely and consistently. Name, address, logo, contact options and links to your profiles belong in a single organization object that is the same on every page. Articles then refer to this author and this company instead of making slightly different statements each time. This consistency is exactly what increases the chance that your brand is attributed correctly.

What you can do in practice

  • Check that your company name and spelling are identical everywhere: website, legal notice, Google Business Profile, directories.
  • For every post, maintain the author, publication date and modification date. An honestly maintained modification date signals freshness.
  • Link your official profiles in the markup, for example company profiles on networks, and make sure they are reachable.
  • Keep visible on-page content and JSON-LD data strictly in sync. Markup without corresponding visible text violates Google's guidelines and risks losing all Rich Results.

A practical example: A trades business listed its full legal name (“Müller Plumbing & Heating LLC”) on the home page, just “Müller Plumbing” in the footer, and an outdated spelling without the legal form in its Organization markup. After unifying the name across all touchpoints, Search Console parsed the structured data without warnings, and AI answers cited the business cleanly with its exact company name. The effort took less than an hour.

The expectation matters, though: schema markup guarantees neither a ranking nor a mention in AI answers. It improves how well machines can understand your page. If you see it as a foundation and combine it with good content, you build a stable base that helps with every update to search systems.

Conclusion: Clarity for machines, benefit for people

Schema markup is the standard way to structure WordPress content clearly and machine-readably. With a properly configured SEO plugin, consistent company data, and regular checks in the Rich Results Test, you build a reliable foundation that benefits both classic Google search and modern AI systems.

Frequently asked questions about schema markup

Is schema markup a ranking factor?

No, schema markup is not a direct ranking factor. However, it helps search engines understand the exact context of your content and enables Rich Results such as review stars or pricing—which can significantly improve your click-through rate (CTR) in search.

Do I need a plugin for schema markup?

Not necessarily, but it is the simplest solution. SEO plugins generate the most important types automatically and keep them up to date.

What is the difference between JSON-LD and Microdata?

JSON-LD is a separate block in the code; Microdata is embedded in the HTML of the content. Google recommends JSON-LD because it is easier to maintain.

How long does it take for schema markup to take effect?

Once Google recrawls and reindexes the page, the updated markup is picked up—typically within a few days to several weeks. You can speed this up by requesting indexing via the URL Inspection tool in Google Search Console.

Does schema markup help with AI answers?

It provides clear, machine-readable facts and can improve understanding. There is no guarantee of mentions.

Can wrong schema markup do harm?

Yes, in extreme cases misleading markup can lead to manual actions. Mark up only what is really on the page and correct.

Which plugins are recommended for schema markup?

Established SEO plugins such as Yoast SEO, Rank Math or All in One SEO cover the most important types. More important than the choice is that only one tool handles the schema output and is maintained regularly.

Do I have to mark up every page individually?

No. Plugins generate standard types automatically based on the page type. You only need additional settings for special cases such as FAQ, how-to or events.

What does sameAs mean in the markup?

With sameAs you link your organization or person with official profiles and entries on the web, such as social media pages. This helps systems assign your brand unambiguously.

How do I proceed with a relaunch?

After the relaunch, check whether the markup was fully carried over, the URLs are right and no old blocks were duplicated. Test spot samples and watch the reports in Search Console.

Amine Boudounite

About the author

Amine Boudounite

Amin is the founder of Boudmedia and builds WordPress websites, online shops and business sites. In his guides he explains technology, loading speed and visibility so that you can apply them without any prior knowledge.

Contents
Help with your WordPress site?

We take a free look and tell you honestly what is needed and what it costs.

Share post

You might also be interested in

WordPress Backend Slow? How to Speed Up the Dashboard

Wenn das WordPress-Dashboard träge ist: Ursachen und Maßnahmen im Überblick.

Finding and Fixing a WordPress Plugin Conflict

So findest du den Plugin-Konflikt in WordPress und löst ihn ohne Datenverlust.

Google Shopping with WooCommerce: How to Make Your Feed Error-Free

Wie ein sauberer Produktfeed für Google Shopping aussieht und welche Fehler du in WooCommerce vermeiden kannst.

Problems with your WordPress site? We fix them at a fixed price.

  • Free check of your site
  • Honest assessment of what is needed
  • Fixed price before we start
  • Reply within 24 hours on business days
Scroll to Top