A client sent me two screenshots last month: Google's Rich Results Test, all green ticks, zero errors — and their search result underneath it, a plain blue link. No breadcrumbs, no business details, nothing.

They had done everything the tutorials told them to do. The markup was valid. Google just wasn't using it.

That gap — valid but ignored — is where most WordPress schema work fails. The tools that say "valid" never say "eligible", and the tools that say "eligible" never promise "shown".

Valid, eligible, shown

  • Valid — the JSON-LD parses and follows Schema.org. Check it with the Schema Markup Validator.
  • Eligible — it meets Google's requirements for a specific rich result. Check it with the Rich Results Test, on the live URL, not pasted code.
  • Shown — Google decides the result is worth enhancing for that query and device. No tool measures this. It is Google's call.

Fixing the first two is your job. The third is not — but most schema I find on client sites never clears gate two, while the owner keeps re-checking gate one.

1. Two plugins describing the same business differently

This is the most common problem I find. Rank Math or Yoast outputs an Organization block, the theme outputs another, and a schema plugin the previous developer installed outputs a third. The page now carries conflicting facts about one business, and Google — rather than guess wrong — quietly shows nothing. Check view-source for application/ld+json and count the blocks: more than one means you have the problem. Pick one source of truth and silence the rest:

// Yoast SEO: remove its full schema graph. add_filter( 'wpseo_json_ld_output', '__return_false' ); // Rank Math: remove its schema graph. add_filter( 'rank_math/json_ld', function( $data, $jsonld ) { return array(); }, 99, 2 ); 

One graph, one owner. Everything else is noise.

2. Markup describing a page it isn't on

Google's guidelines say structured data must represent the main content of the page. Yet I keep finding LocalBusiness markup on every URL of a site — blog posts, tag archives, product pages — because a plugin was set to output it sitewide. A blog post about fixing a slow checkout is not a local business listing, and Google treats the mismatch as a trust problem.

Scope each type to the pages it belongs on:

add_action( 'wp_head', 'site_output_schema', 20 ); function site_output_schema() { $graph = array(); if ( is_front_page() || is_page( 'contact' ) ) { $graph[] = site_local_business_schema(); } if ( is_singular( 'post' ) ) { $graph[] = site_article_schema( get_queried_object() ); } if ( empty( $graph ) ) { return; } printf( "<script type=\"application/ld+json\">\n%s\n</script>\n", wp_json_encode( array( '@context' => 'https://schema.org', '@graph' => $graph ), JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ) ); } 

Two things matter here. The conditionals keep Article markup off archives and LocalBusiness off blog posts. And wp_json_encode() on a PHP array — never a hand-built JSON string. The first post title with an unescaped quote breaks hand-built JSON and the whole block silently disappears. Link the nodes with @id instead of repeating the business in every block: the Organization node gets "@id": "https://yoursite.com/#organization", and the Article node references it as its publisher.

3. Chasing a rich result Google retired

This wastes the most afternoons. FAQ rich results were restricted in August 2023 to government and health sites, HowTo results were dropped entirely, and more types were phased out in 2025. The markup still validates — Schema.org never removed those types — but no correct code will make Google display a feature it no longer shows. Before debugging anything, check Google's structured data feature gallery for whether the result still exists. If it doesn't, stop.

4. Stars you were never going to get

A business marks up its own testimonials with aggregateRating and waits for stars that never appear. Google stopped showing star ratings for self-serving reviews of a LocalBusiness on its own site in late 2023 — and aggressive fake ratings can earn a manual action instead. Mark up reviews only where the reviewed thing is not the business itself, such as a Product page, and only for reviews visible on that same page. Link out to your real reputation sources through sameAs and let those platforms carry the stars.

5. Details that disagree with your Google Business Profile

Schema is a claim about facts, and Google cross-checks it. If your LocalBusiness block lists one phone number and your Google Business Profile lists another, or your hours are a plain string like "Mon–Sat 9–5" instead of a structured openingHoursSpecification with dayOfWeek, opens and closes, the markup is technically valid and practically useless.

Copy the name, address and phone exactly as they appear on your Google Business Profile. Use the most specific subtype Schema.org offers (Dentist, HairSalon, Restaurant) instead of generic LocalBusiness. And use a real photo of the business, hosted on your own site, for image — Google lists it as required for LocalBusiness rich results, and it is the field I most often find missing in audits.

The diagnostic order

Next time a client's schema validates and nothing shows up, work in this order: check the feature still exists; view-source the live URL and count the ld+json blocks; check each type is only on the pages it describes; compare the markup to the visible page; run the live URL through the Rich Results Test and check Search Console → Enhancements after the next crawl. Then wait — a fix takes days to weeks to show up after recrawl.

The checklist

  • [ ] One schema graph, one owner — duplicates from plugins/themes switched off
  • [ ] Each type scoped to the pages it describes (conditionals, not sitewide)
  • [ ] Built as a PHP array with wp_json_encode(), never a hand-built JSON string
  • [ ] Nodes linked with @id in a single @graph; feature still exists in Google's gallery
  • [ ] No self-serving review stars; NAP identical to the Google Business Profile
  • [ ] Live URL tested in the Rich Results Test; Enhancements checked after recrawl

Validation is the starting line, not the finish. The sites that actually get rich results are the ones whose markup is valid, eligible, honest about what is on the page — and the only version of the truth on that page.

I'm Taha Khan, Founder & CEO at Web Vision Expert in Karachi, where I build WordPress and WooCommerce sites for small businesses — I wrote about the wider pattern here: measure what machines actually see, fix the worst thing first, and prove it with a re-test.

Which of these have you found on a client site? The duplicate Organization block is my most frequent — I'd be curious what tops your list.