How to Set Up Automatic Schema Detection in AEO God Mode - AEO God Mode

How to Set Up Automatic Schema Detection in AEO God Mode

AEO God Mode automatically generates structured data for your WordPress content. The schema engine analyzes each page and outputs the correct schema types without manual configuration.

AEO God Mode automatically generates structured data for your WordPress content. The schema engine analyzes each page and outputs the correct schema types without manual configuration.

What Gets Auto-Detected

The plugin generates these schema types automatically when conditions are met:

Always Generated (On Every Page)

  • WebSite schema on the homepage, including your site name, URL, language, and a SearchAction for sitelinks
  • Organization schema using your business name, logo, and social profiles from Settings
  • BreadcrumbList schema showing the navigation path (Home > Category > Post)

Generated on Single Posts

  • Article schema with headline, dates (published and modified), author, publisher, word count, article section (primary category), featured image, excerpt, and permalink
  • Person schema for the post author with name, URL, and avatar

Auto-Detected from Content

  • FAQPage schema when question-and-answer patterns are found in your post content. The detector uses 8 different extraction strategies including H2/H3 headings followed by paragraphs, bold text patterns, toggle/accordion blocks, definition lists, Gutenberg FAQ blocks, and question-word pattern matching
  • HowTo schema when step-by-step instructions are detected. This requires a dual-gate validation: first an H2 heading containing trigger words (like “how to,” “steps,” “guide,” “tutorial”), then numbered or ordered list items beneath it

Conditional Schema

  • LocalBusiness schema when local business details are configured in Settings
  • Product schema for WooCommerce products (with price, availability, SKU, and reviews)
  • Product schema for Easy Digital Downloads products (with price and download info)
  • Speakable schema on Article posts when the speakable setting is enabled in Settings

How to Enable Schema Detection

  • Go to AEO God Mode > Settings (admin.php?page=aeo-god-mode#/settings)
  • Make sure the Schema module is toggled ON
  • That’s it. Detection is automatic from this point

There are no per-type toggles for auto-detection. When the Schema module is enabled, all applicable schema types generate automatically based on your content.

How Third-Party Plugin Detection Works

If Yoast SEO or Rank Math is active, the schema engine checks what schema types they already output using the third_party_handles() method. For each schema type, it calls type-specific checks:

  • Article: Checks wpseo_schema_article filter (Yoast) or Rank Math’s Article schema class
  • Person: Checks wpseo_schema_person filter (Yoast) or Rank Math’s Person output
  • BreadcrumbList: Checks if Yoast breadcrumbs are enabled or Rank Math’s breadcrumb module is active
  • WebSite: Checks for the wpseo_schema_website filter or Rank Math’s WebSite type
  • Organization: Checks for wpseo_schema_organization filter or Rank Math’s Organization output

If a third-party plugin already handles a schema type, AEO God Mode skips that type to prevent duplicate markup. You can override this behavior in the Conflicts page.

Viewing Your Schema Output

  • Go to AEO God Mode > Schema (admin.php?page=aeo-god-mode#/schema)
  • Select any published post or page
  • The schema preview shows the exact JSON-LD that will be injected into the page head

You can also inspect the source of any published page and search for application/ld+json to see the live output.

Overriding Auto-Detection Per Post

On the Schema page, you can select a specific post and manually override the auto-detected schema. Manual overrides are stored as post meta (asgm_schema_override) and take priority over auto-detection.

Troubleshooting

Schema not appearing on a post:

  • Confirm the Schema module is enabled in Settings
  • Check if another SEO plugin is handling that schema type (visit the Conflicts page)
  • Verify the post is published (drafts don’t get schema)

FAQ schema not detected:

  • Your content needs clear question-and-answer patterns. Use H2 or H3 headings phrased as questions followed by paragraph answers
  • The detector requires at least 2 valid Q&A pairs to generate FAQPage schema

HowTo schema not detected:

  • You need an H2 heading with trigger words like “how to” or “steps to”
  • Below that heading, use a numbered list or ordered list with the actual steps
  • Both conditions must be met (dual-gate validation)
Schema & Structured Data Updated March 11, 2026