Fodo Docs
Schema

Fodo Schema

Visual Schema.org structured data builder with auto-validation.

Fodo Schema

Build rich snippets visually with auto-validation. 9 schema types, WooCommerce integration, and automatic Article schema.

Supported schema types

TypeDescription
ArticleBlog posts, news articles, blog postings
FAQFrequently asked questions with answers
HowToStep-by-step instructions
RecipeRecipes with ingredients and instructions
ProductProducts with price and availability
LocalBusinessLocal business with address and hours
OrganizationCompany or organization info
WebsiteWebsite with search box
BreadcrumbNavigation breadcrumbs

Key features

  • Visual schema builder with live preview
  • Built-in validation against Google requirements
  • Automatic Article schema for posts
  • WooCommerce Product schema integration
  • Per-post schema type selection
  • Custom JSON-LD for advanced users

Installation

  1. Download Fodo Schema from your account
  2. Upload to /wp-content/plugins/
  3. Activate the plugin
  4. Go to Fodo Schema in the admin menu

Initial setup

  1. Set organization name and logo
  2. Enable desired auto-generation features
  3. Configure default schema types

Visual schema builder

Build schema markup without coding:

  1. Go to Fodo Schema → Schema Builder
  2. Select a schema type
  3. Fill in the fields
  4. Preview the JSON-LD output
  5. Validate before publishing
  6. Copy to use on your pages

Auto-generation

Automatic schema for your content:

Article schema

Enabled by default for posts:

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Your Post Title",
  "author": {
    "@type": "Person",
    "name": "Author Name"
  },
  "datePublished": "2025-01-15",
  "image": "https://example.com/image.jpg"
}

Organization schema

Added to your homepage:

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Your Company",
  "url": "https://example.com",
  "logo": "https://example.com/logo.png",
  "sameAs": [
    "https://twitter.com/yourcompany",
    "https://facebook.com/yourcompany"
  ]
}

Website schema

With search box for sitelinks:

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Your Site",
  "url": "https://example.com",
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://example.com/?s={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}

Per-post settings

Each post has schema settings in the sidebar:

  • Schema type: Auto, Article, News Article, Blog Posting, FAQ, HowTo, Recipe, or None
  • Disable auto-schema: Turn off auto-generation for this post
  • Custom schema: Add custom JSON-LD

FAQ schema example

For FAQ pages, add your questions:

{
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is your return policy?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "We offer 30-day returns on all products."
      }
    }
  ]
}

WooCommerce integration

Automatic Product schema for WooCommerce:

  • Product name and description
  • Price and currency
  • Availability (in stock/out of stock)
  • SKU
  • Brand
  • Aggregate ratings
  • Product images

Replaces WooCommerce's default schema with richer markup.

Validation

Built-in validation catches errors:

  • Missing required fields
  • Invalid @context
  • Incorrect property types
  • Google requirements compliance

Validate before publishing to ensure rich snippets appear in search.

REST API

Access schema settings via REST API:

GET /wp-json/fodo-schema/v1/settings
POST /wp-json/fodo-schema/v1/validate
POST /wp-json/fodo-schema/v1/generate/{type}

Validate schema

POST /wp-json/fodo-schema/v1/validate

{
  "schema": "{\"@context\": \"https://schema.org\", ...}"
}

Response:
{
  "valid": true,
  "errors": []
}

Hooks and filters

Customize with WordPress hooks:

// Modify auto-generated schema
add_filter('fodo_schema_article', function($schema, $post) {
    $schema['author']['url'] = 'https://example.com/about';
    return $schema;
}, 10, 2);

// Add custom schema type
add_filter('fodo_schema_output', function($schemas, $post) {
    $schemas[] = [
        '@context' => 'https://schema.org',
        '@type' => 'Event',
        'name' => 'My Event',
    ];
    return $schemas;
}, 10, 2);

Support

Contact support@fodo.dev. Response time: 24-48 hours.