1. Using an SEO Plugin (Easy & Recommended)
Most good SEO plugins now include structured data automatically:
- Yoast SEO (free & premium):
- Adds basic schema (like
WebPage,Organization,Article) automatically. - Structured data for breadcrumbs, authors, etc.
- Integrates with FAQ and How-To blocks (if using Gutenberg).
- Adds basic schema (like
- Rank Math (free & premium):
- More advanced schema support than Yoast.
- Add custom schema types (Product, Event, Recipe, Course, etc.).
- Schema generator with visual interface.
- SEOPress:
- Lightweight, privacy-focused SEO plugin.
- Includes structured data features.
- Supports custom schemas in JSON-LD format.
🟢 Best for most users: Rank Math – easy to use, free, and offers the most flexible schema tools.
2. Dedicated Schema Plugins (More Control)
If you're not using a big SEO plugin or want deeper control:
- Schema & Structured Data for WP & AMP
- Adds 35+ schema types (e.g. Book, Local Business, FAQ).
- Works well with most themes.
- Supports manual overrides and reviews.
- WP SEO Structured Data Schema
- Simple interface.
- Good for local businesses, events, services, etc.
3. Manual Method (for Developers or Custom Themes)
If you know your way around code, you can add schema using JSON-LD in your theme:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Polyspiral SEO and Hosting",
"url": "https://polyspiral.com",
"address": {
"@type": "PostalAddress",
"addressLocality": "Sudbury",
"addressRegion": "Suffolk",
"postalCode": "CO10"
}
}
</script>
Place this in your theme's <head> section (via a hook or template override).
🔍 Bonus: Validate Your Structured Data
Use these tools to test:
