Schema Settings

  • JNext lesson
  • KPrevious lesson
  • FSearch lessons
  • EscClear search

Overview

Automatically adds Schema.org microdata attributes to HTML elements for improved structured data and SEO.

Schema Types Applied

  • <html> — WebPage (configurable) → itemscope, itemtype
  • <header> — WPHeader → itemscope, itemtype
  • <footer> — WPFooter → itemscope, itemtype
  • <article> — Article (configurable) → itemscope, itemtype
  • First H1/H2 — — → itemprop="headline"

Developer Filters

Dynamic page type

add_filter( 'functionalities_schema_site_itemtype', function( $type ) {
  if ( is_front_page() ) return 'WebSite';
  if ( is_product() ) return 'Product';
  return $type;
});