SEO and visibility on Google

Schema.org and Structured Data – The Complete Guide for WordPress

Text
Contents

Schema.org is the "user manual" you write for Google. You tell it directly: "This is a product, it costs 199 PLN, it has a 4.8-star rating, it's in stock." In return, Google gives you enriched results in SERPs — with stars, price, date, FAQ-expander. The click-through rate of such results is about 20–35% higher than ordinary ones.

In short

  • Schema.org is a dictionary of tags (JSON-LD) describing the content type: product, article, local business, FAQ, recipe.
  • In 2026, the most important types: Article, Product, FAQ, LocalBusiness, BreadcrumbList, Organization, Review.
  • Format: JSON-LD in the section <head> — the simplest to implement and maintain.
  • In WordPress: a plugin (Yoast, Rank Math) or manual implementation via functions.php.
  • Always test in Rich Results Test.

What is structured data - in 3 sentences

It's a piece of code in JSON-LD format that you add to your page and tell Google, "This content is an article, authored by John Smith, published on May 5, 2026, category - SEO." Google uses this to understand your content better. i showing it in SERPs in a more attractive form.

Without schema:

Best WordPress Plugins 2026 – websky-studio.pl/
Subjective ranking of 25 WordPress plugins…

With diagram:

⭐ 4.7 (132) Best WordPress Plugins 2026 - TOP 25
Adrian K. · May 5, 2026 · 8 min read
Subjective ranking of 25 WordPress plugins…

The clickbaity of the latter? +30–45%.

The most important schema types in 2026

1. Article (blog articles)

Most commonly used in blogs. Describes the author, publication/update date, featured image, and headline.

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "SEO Audit Step by Step",
  "datePublished": "2026-05-05",
  "dateModified": "2026-05-05",
  "author": {
    "@type": "Person",
    "name": "Adrian Kamiński",
    "url": "https://websky-studio.pl/o-nas"
  },
  "image": "https://websky-studio.pl/wp-content/uploads/audyt-seo.jpg"
}

2. Product + Offer (products in the store)

Essential for every WooCommerce store. Provides star ratings, pricing, and availability in the SERPs.

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Smartwatch X1",
  "image": "https://sklep.pl/foto.jpg",
  "offers": {
    "@type": "Offer",
    "price": "499.00",
    "priceCurrency": "PLN",
    "availability": "https://schema.org/InStock"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "reviewCount": "287"
  }
}

3. FAQ (question and answer sections)

The fastest way to generate rich results. It causes questions from the article to appear as expanded questions in Google results. Warning: As of 2023, Google has limited the FAQ display to only "recognized" government and medical sites. For businesses, it appears less frequently, but is still helpful.

4. LocalBusiness

For a company with a physical location - provides a package with address, opening hours, map.

{
  "@context": "https://schema.org",
  "@type": "ProfessionalService",
  "name": "Websky Studio",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "ul. Sadowa 35 lok. 1A",
    "addressLocality": "Poznań",
    "postalCode": "61-657",
    "addressCountry": "PL"
  },
  "telephone": "+48518790600",
  "openingHours": "Mo-Sa 09:00-20:00"
}

5. BreadcrumbList

Shows the breadcrumb trail in the SERPs instead of an ugly URL. This is done automatically in Yoast / Rank Math.

6. Organization

It's done once in the page header—it describes the company, logo, and social media. It helps with Google's Knowledge Panel.

How to implement - 3 approaches

Approach 1: Plugin (fastest)

Yoast SEO — automatically generates Article, BreadcrumbList, Organization. Premium adds Product, FAQ, How-to.

Rank Math — The free version has more schema types than Yoast Free. Recommended for beginner bloggers.

Schema Pro — Schema-only plugin, most types (Recipe, Event, Course, Job Posting). $79/year.

Approach 2: Manually in functions.php

For advanced users – full control, no plugin overhead:

function websky_article_schema() {
    if (!is_single()) return;
    $schema = [
        '@context' => 'https://schema.org',
        '@type' => 'Article',
        'headline' => get_the_title(),
        'datePublished' => get_the_date('c'),
        'dateModified' => get_the_modified_date('c'),
        'author' => [
            '@type' => 'Person',
            'name' => get_the_author(),
        ],
    ];
    echo '<script type="application/ld+json">' . wp_json_encode($schema) . '</script>';
}
add_action('wp_head', 'websky_article_schema');

Approach 3: ACF + Template

For service websites with dynamic data — Advanced Custom Fields, where you define the fields cena_od, czas_realizacji, and in the template you generate the schema from those fields.

Schema FAQ - How to do it right

Example for an article with a FAQ section:

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [{
    "@type": "Question",
    "name": "Ile kosztuje strona internetowa?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text": "Brochure websites start at PLN 500..."
    }
  },
  {
    "@type": "Question",
    "name": "How long does implementation take?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text": "Standardowy projekt 21–45 dni..."
    }
  }]
}

The most common mistakes

  • Schema does not match visible content — Google detects this. If the schema says "4.8 stars" and the page has no ratings, you get a manual penalty.
  • Duplicates — the plugin generates the Article schema, and you manually generate it. Result: Google either chooses randomly or ignores both.
  • No mandatory properties — e.g., Product without name or image will not be displayed.
  • JSON-LD in <body> instead of <head> — it works, but it shouldn't. Some crawlers may ignore it.
  • Forgetting to update dateModified — if the article has been updated, but dateModified was left as the old one — Google doesn't know the content is fresh.

How to test if a schema is working

3 tools:

  1. Rich Results Test — official Google tester, shows what rich results will be displayed.
  2. Schema Markup Validator — checks the correctness of JSON-LD syntax.
  3. Search Console → Enriched Results — shows what Google has already indexed as a rich result and what errors it sees.

What if the schema doesn't appear in the SERPs?

Most common reasons:

  • The website has too low authority (DR < 15) - Google does not show rich snippets for "fresh" domains
  • The schema is technically correct, but Google "reserves" it only for the top 2-3 results
  • Policy Non-Compliance (FAQ only for government/health from 2023)
  • Cache - Google will only show a new snippet after recrawl (1-14 days)

What's next

This week:

  1. Open Rich Results Test and enter your home page
  2. See what schemas Google already sees
  3. Select 1 type to implement (FAQ is a good start) and add it on 1 test page
  4. After 7 days, check Search Console → Enriched Results

We implement schema.org in 25 types — from Article to Job Posting and Course. If you sell products/courses/services with stars and want to have them in the SERPs — write to us.

Your feedback

Was this article helpful?

One click — it helps me choose future topics.

Share article

Websky Newsletter

New posts straight to your email.

Once a month — practical insights on WordPress, WooCommerce, SEO and AI. No spam, unsubscribe with one click.

  • Case studies from Polish projects
  • Checklists and templates to download
  • Google and WordPress changes in a nutshell

Your data goes to Websky Studio only. You can unsubscribe with one click in every message.

SEO & content

Let's find out what's blocking your visibility.

Technical audit, on-page optimization, and keyword monitoring in Senuto. A monthly report, with no "magic" links.

Order an SEO audit