All posts

Schema Markup in WordPress Themes: What Google Still Uses

Theme microdata or SEO plugin JSON-LD? Which schema rich results Google still shows after the 2025-2026 cuts, how to check your site, and how to fix duplicates.

Sketch of a web page linked to cards for a rating, an event date and a summary, like rich result data

A theme's sales page says "built-in schema," your SEO plugin says it handles schema too, and you're left wondering whether you have too much, too little, or the wrong kind. On most WordPress sites the answer is the same: your SEO plugin should own your structured data, and your theme's schema is either redundant or something to switch off.

This guide covers what schema markup does (and doesn't do) for a WordPress site, which rich results Google still shows after a run of removals in 2025 and 2026, how to see what your site outputs, and how to fix duplicates.

The short answer

Schema markup is code that describes your page to search engines in a standard vocabulary from schema.org: this page is an article, this is the author, this is the publish date, this is a product with a price. Google uses it to understand pages and to decide whether a page is eligible for a rich result, such as review stars or a recipe card.

Three things are worth knowing up front:

  • Schema doesn't directly raise rankings. It makes pages eligible for rich results, and Google says eligibility is not a guarantee that one will appear.
  • Google has removed many rich result types since 2023, including FAQ rich results in May 2026. A lot of older advice, including this post's earlier version, recommended markup that no longer produces anything visible.
  • You don't need special schema for AI search. Google states there's "no special schema.org structured data that you need to add" to appear in AI Overviews or AI Mode.

Which rich results Google still shows

Google's search gallery lists the structured data features it currently supports. These are the ones most WordPress sites can use:

Schema type

What it does in Google today

Typical WordPress source

Article / BlogPosting

Helps Google pick the right title, image, and dates

SEO plugin

BreadcrumbList

Shows a breadcrumb trail in results, desktop only since January 2025

SEO plugin or theme breadcrumbs

Organization

Logo and business details for knowledge panels

SEO plugin settings

Product, with offers and reviews

Price, availability, and review stars

WooCommerce or SEO plugin

Review snippet

Star ratings on eligible content types

Review or SEO plugin

Recipe

Recipe cards with image, time, and ratings

Recipe plugin

Video

Video previews and key moments

SEO plugin or video plugin

Event

Event listings, for public in-person events

Events plugin

LocalBusiness

Business details for local results

SEO or local SEO plugin

One rule catches many sites out. Google doesn't show review stars for reviews a business publishes about itself on its own LocalBusiness or Organization markup. Product reviews and reviews of third-party things are still fine.

What Google has removed

If your theme or plugin still promotes these, the markup is harmless but won't produce a rich result. Dates come from Google's Search Central changelog:

Feature

Status

FAQ rich results

Limited to government and health sites in August 2023; removed for everyone on May 7, 2026

HowTo rich results

Removed in 2023

Sitelinks search box

Removed in November 2024

Breadcrumbs on mobile

Removed in January 2025; still shown on desktop

Course info, estimated salary, learning video, special announcement, vehicle listing

Removed in September 2025

Book actions and ClaimReview

Phase-out announced in June 2025

Practice problems

Removed in January 2026

Online events

Event results now require a public, physical location (June 2025)

Leftover FAQPage markup is still valid schema.org vocabulary, so there's no urgent need to strip it out. Just don't add FAQ schema expecting the dropdowns to come back.

Where schema comes from on a WordPress site

Structured data on a WordPress page can come from several places at once, which is how duplicates happen.

Source

Format

What it usually covers

Your theme

Usually microdata (itemtype attributes in the HTML)

Article, header, navigation, sometimes breadcrumbs

SEO plugin (Yoast SEO, Rank Math, All in One SEO)

JSON-LD

Article, WebPage, BreadcrumbList, Organization or Person, often more

WooCommerce

JSON-LD

Product data on product pages

Dedicated schema plugin, such as Schema Pro

JSON-LD

Custom types mapped to your fields

Hand-written code in a child theme or snippet plugin

JSON-LD

Anything you add yourself

Google recommends JSON-LD because it sits in one script block, separate from your HTML, and is easier to maintain. That's a big part of why SEO plugins do the job better than themes. Theme microdata is woven into template markup and can't follow your SEO plugin's settings for author, organization, or breadcrumbs.

Popular themes like Astra and GeneratePress add microdata by default. Both are well-built themes, and the microdata isn't harmful on its own. It only becomes a problem when it describes the same things as your plugin's JSON-LD in a different way.

How to check what your site outputs

Run one post, one page, and one category archive through these:

  1. Google's Rich Results Test shows which rich result types the page is eligible for and flags errors.
  2. The Schema Markup Validator shows every schema.org item on the page, including types Google doesn't use for rich results. This is where duplicates show up.
  3. View the page source and search for application/ld+json (JSON-LD blocks) and itemtype (microdata).

If the validator shows two separate Article or BlogPosting items for one post, or two different breadcrumb trails, you have duplicate markup. For quick spot checks while browsing, the SEO report in the RightBlogger Chrome extension shows a page's structured data alongside its indexing status and social tags.

How to fix duplicate schema

Pick one owner, which on most sites is the SEO plugin, and switch off the rest.

For theme microdata, check your theme's documentation for a setting or filter. Astra and GeneratePress both provide filters. Add the relevant line to a child theme's functions.php or a code snippets plugin:

// Astra: turn off all theme schema
add_filter( 'astra_schema_enabled', '__return_false' );

// GeneratePress: turn off theme microdata
add_filter( 'generate_schema_type', '__return_false' );

Then retest with the Schema Markup Validator. Filter names can change between theme versions, so confirm them in your theme's current docs before relying on them.

If two plugins both output JSON-LD (for example, an SEO plugin and a separate schema plugin), turn off the overlapping types in one of them. Don't run two plugins that both describe the same article.

Adding schema the right way

With an SEO plugin

For most blogs and business sites, an SEO plugin's defaults cover what matters: Article markup on posts, BreadcrumbList, and Organization or Person details from its settings. Fill in those settings fully, especially your logo, your organization or author name, and your social profiles.

Rank Math and Yoast SEO both let you change the schema type per post, such as switching a post to a Recipe or Product type. Use that only when the page really is that thing.

By hand, for custom content

If you have a custom post type that no plugin covers, you can output JSON-LD yourself from a child theme or snippet plugin. This example adds Event markup to a hypothetical event post type:

add_action( 'wp_head', function () {
    if ( ! is_singular( 'event' ) ) {
        return;
    }
    $data = array(
        '@context'  => 'https://schema.org',
        '@type'     => 'Event',
        'name'      => get_the_title(),
        'startDate' => get_post_meta( get_the_ID(), 'start_date', true ),
    );
    echo '<script type="application/ld+json">' . wp_json_encode( $data ) . '</script>';
} );

Add the other properties Google requires for that type. For Event that includes location, and each type's page in Google's structured data docs lists the required and recommended fields. Whatever you add, it has to match what's visible on the page. Markup describing content readers can't see breaks Google's structured data policies.

Keeping schema current

Google changes its supported features several times a year, and most changes only appear in the Search Central changelog. A light routine is enough:

  • Keep your SEO plugin updated, since that's where most of your markup comes from.
  • Check the rich result reports under Enhancements in Search Console once a month for new errors.
  • Retest a post, a page, and an archive after any theme or SEO plugin change.
  • Skim the changelog every few months for removed features.

Video: schema on WordPress

This overview from Thrive Themes walks through schema on WordPress. It was published before Google removed FAQ rich results, so skip any advice that relies on them.

Schema and AI search

You'll see claims that ChatGPT and Gemini "rely on structured data." Google's own guidance for AI Overviews and AI Mode says no special schema is needed, and the same SEO basics apply. Structured data still helps search engines understand a page, so clean, accurate markup is worth having. It won't get you cited on its own. Clear answers, named sources, and well-structured content matter more, as covered in how to get cited by LLMs.

FAQs

Does schema markup improve rankings?

Not directly. It helps Google understand your pages and makes them eligible for rich results, which can make a listing more noticeable. Rankings still come from relevance, quality, and links.

Should I choose a theme with built-in schema?

It isn't worth choosing a theme for. Your SEO plugin produces better structured data in Google's preferred format. If your theme adds its own microdata, check for duplicates and turn it off if needed. Our list of essential SEO features for WordPress themes covers what matters more.

Should I remove my FAQ schema now that FAQ rich results are gone?

You don't have to. The markup is still valid schema.org vocabulary and won't trigger errors on its own. Stop adding it expecting a visual result, and keep the FAQ content itself if readers find it useful.

What happens to my schema when I change themes?

Plugin-generated JSON-LD stays the same. Theme microdata disappears with the old theme, and the new theme may add its own. Test before and after, as covered in does changing a WordPress theme affect SEO.

The short version

Let your SEO plugin own your schema, switch off theme microdata that duplicates it, and check one post, one page, and one archive with the Rich Results Test and the Schema Markup Validator. Focus on the rich results Google still shows (Article, breadcrumbs on desktop, Product, Review, Recipe, Video, Event, Organization) and ignore FAQ and HowTo markup as a visibility tactic. For the bigger picture of how themes affect search, see how your WordPress theme affects SEO.