Linux 软件免费装
Banner图

Search Snippet Control for Blocks

开发者 weareallconnected
更新时间 2026年8月31日 21:43
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

seo search ai block editor content control

下载

0.2.0

详情介绍:

Search Snippet Control for Blocks adds a toggle within Advanced settings of supported blocks to add a data-nosnippet tag, which excludes that content from search snippets and AI answers. The plugin adds the toggle to these blocks: The switch is on by default, which leaves the block’s normal HTML unchanged. Turning it off adds 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.

安装:

  1. Upload the search-snippet-control-for-blocks directory to /wp-content/plugins/.
  2. Activate Search Snippet Control for Blocks in WordPress.
  3. Select a supported block and open its Advanced settings.
  4. Turn off "Allow search engines to use this content in search snippets and AI-generated answers? Does not affect normal indexing." and save the post.

屏幕截图:

  • Disabling the toggle adds the data-nosnippet tag to the block, preventing content within that block being used in search snippets and AI answers.
  • The data-nosnippet tag is added to existing divs, with minimal impact on speed and no extra elements added to the page.

常见问题:

I can't see the control for some blocks (Paragraph, Image etc.)

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.

Does this have an impact on SEO?

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.

My content is still being included in AI answers! Why?

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.

更新日志:

0.2.0 0.1.1 0.1.0