| 开发者 | weareallconnected |
|---|---|
| 更新时间 | 2026年8月31日 21:43 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
data-nosnippet tag, which excludes that content from search snippets and AI answers. The plugin adds the toggle to these blocks:
data-nosnippet directly to the block’s existing div, section, or span root during server rendering.
The plugin is designed to be as lightweight as possible and never adds a wrapper. Paragraphs, Headings, Images, Lists, and other content blocks can be placed inside a Group or other supported block when an editor wants to exclude that section from search snippets and AI-generated answers.
Note that adding data-nosnippet does not change indexing or organic search visibility - only the wrapped contents' eligibility for inclusion in snippets and AI answers.
search-snippet-control-for-blocks directory to /wp-content/plugins/.To avoid compatibility and/or layout issues, the toggle is only available on blocks that already use compatible div, section or span elements, where the data-nosnippet tag can be added. You can simply put the content you wish to exclude within a supported layout block such as a Group.
No, applying data-nosnippet to page elements expressly only removes their eligibility for inclusion in search snippets and AI answers. All page content is still crawled and indexed as normal.
Sometimes other plugins may output the entire page contents in the articleBody schema field without taking into account visibility controls, which renders on-page data-nosnippet tags useless. Unfortunately there's nothing we can do about this - we would recommend contacting the plugin author and asking them to add support for data-nosnippet exclusions.