| 开发者 | dotes |
|---|---|
| 更新时间 | 2026年11月19日 20:19 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
@graph in the <head>:
dotes_schema_graph, dotes_schema_node, dotes_schema_node_{type} and dotes_schema_should_output to add, change or skip nodes.dotes_schema_register_types to register schema types.dotes_schema_condition_types, dotes_schema_condition_type_supported and dotes_auto_schema_evaluate_condition to add rule conditions (in the rule editor, window.dotesSchemaConditions renders their fields).dotes_schema_from_post, dotes_schema_mapping_sources, dotes_schema_mapping_source_supported, dotes_schema_default_mappings, dotes_auto_schema_default_mappings and dotes_auto_schema_transform_schema for field mapping (in the rule editor, window.dotesSchemaMappingSources adds mapping sources).dotes_schema_block_eligible, dotes_schema_register_blocks and dotes_schema_block_schema for blocks.dotes_schema_validator_rules for validation rules.dotes_schema_admin_tabs, dotes_schema_admin_tab_content, dotes_schema_save_options and dotes_schema_metabox_after_fields for the admin screens.dotes_auto_schema_opengraph_data, dotes_auto_schema_x_card_data, dotes_auto_schema_pinterest_data and dotes_auto_schema_opengraph_conflicts for social meta tags./wp-content/plugins/ or install it from the Plugins screen.Recipe, Event, HowTo, Product and the other rich result types are only printed when the post has the fields Google requires (for a recipe: ingredients, instructions and an image). When the post does not have them, the next automation rule that matches is used, for example Article. Map the fields in the rule (post data or fixed values) or use the schema block in the post, which has a field for each property.
When one of them is active, this plugin does not print the WebSite, Organization, Person, WebPage, BreadcrumbList and article nodes they already print. Content nodes (FAQ, HowTo, Recipe, Product, Event and the other blocks) and the schema set in the post editor are always printed. Developers can change this with the dotes_schema_should_output filter.
Yes. WooCommerce already prints the Product schema of its product pages, so on those pages the Product and ProductGroup nodes of automation rules are not printed. Product blocks and the schema set in the post editor are still printed.
From the post's own data (title, excerpt, content, dates, author, URL, featured image, site name) and from fixed values you type in the rule. The schema blocks take the values you type in them. Developers can register more mapping sources with the dotes_schema_mapping_sources and dotes_schema_mapping_source_supported filters.
Open a post and view the page source: look for <script type="application/ld+json" class="dotes-schema-graph">. You can also use the "Open Google Rich Results Test" button in the post editor.
Yes. In the "Schema Markup" box of the post editor, choose "Disable schema on this page".
The plugin options, its transients and the post meta it created. Your posts and the blocks inside them are not changed.
dotes_schema_from_post, dotes_schema_default_mappings, dotes_schema_mapping_source_supported and window.dotesSchemaMappingSources.