{"id":359992,"date":"2026-08-31T13:10:48","date_gmt":"2026-08-31T13:10:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/search-snippet-control-for-blocks\/"},"modified":"2026-08-31T13:43:28","modified_gmt":"2026-08-31T13:43:28","slug":"search-snippet-control-for-blocks","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/search-snippet-control-for-blocks\/","author":23555574,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.0","stable_tag":"0.2.0","tested":"7.1","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"Search Snippet Control for Blocks","header_author":"We Are All Connected","header_description":"Control whether selected block content can be used in search snippets and AI-generated answers without affecting indexing.","assets_banners_color":"0e0d0c","last_updated":"2026-08-31 13:43:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.weareallconnected.co.uk\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":48,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.2.0":{"tag":"0.2.0","author":"weareallconnected","date":"2026-08-31 13:43:28","revision":3674361}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3674282,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3674282,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3674282,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3674282,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3674282,"resolution":"1","location":"assets","locale":"","width":622,"height":555},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3674282,"resolution":"2","location":"assets","locale":"","width":620,"height":616},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3674282,"resolution":"3","location":"assets","locale":"","width":517,"height":208}},"screenshots":{"1":"Toggle enabled by default, enabling content within this block to be used in snippets.","2":"Disabling the toggle adds the data-nosnippet tag to the block, preventing content within that block being used in search snippets and AI answers.","3":"The data-nosnippet tag is added to existing divs, with minimal impact on speed and no extra elements added to the page."}},"plugin_section":[],"plugin_tags":[2353,148857,182970,944,186],"plugin_category":[55],"plugin_contributors":[278489],"plugin_business_model":[],"class_list":["post-359992","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-block-editor","plugin_tags-content-control","plugin_tags-search","plugin_tags-seo","plugin_category-seo-and-marketing","plugin_contributors-weareallconnected","plugin_committers-weareallconnected"],"banners":{"banner":"https:\/\/ps.w.org\/search-snippet-control-for-blocks\/assets\/banner-772x250.png?rev=3674282","banner_2x":"https:\/\/ps.w.org\/search-snippet-control-for-blocks\/assets\/banner-1544x500.png?rev=3674282","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/search-snippet-control-for-blocks\/assets\/icon-128x128.png?rev=3674282","icon_2x":"https:\/\/ps.w.org\/search-snippet-control-for-blocks\/assets\/icon-256x256.png?rev=3674282","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/search-snippet-control-for-blocks\/assets\/screenshot-1.png?rev=3674282","caption":"Toggle enabled by default, enabling content within this block to be used in snippets."},{"src":"https:\/\/ps.w.org\/search-snippet-control-for-blocks\/assets\/screenshot-2.png?rev=3674282","caption":"Disabling the toggle adds the data-nosnippet tag to the block, preventing content within that block being used in search snippets and AI answers."},{"src":"https:\/\/ps.w.org\/search-snippet-control-for-blocks\/assets\/screenshot-3.png?rev=3674282","caption":"The data-nosnippet tag is added to existing divs, with minimal impact on speed and no extra elements added to the page."}],"raw_content":"<!--section=description-->\n<p>Search Snippet Control for Blocks adds a toggle within Advanced settings of supported blocks to add a <code>data-nosnippet<\/code> tag, which excludes that content from search snippets and AI answers. The plugin adds the toggle to these blocks:<\/p>\n\n<ul>\n<li>Group<\/li>\n<li>Columns<\/li>\n<li>Column<\/li>\n<li>Cover<\/li>\n<li>Media &amp; Text<\/li>\n<li>Buttons<\/li>\n<li>Button<\/li>\n<\/ul>\n\n<p>The switch is on by default, which leaves the block\u2019s normal HTML unchanged. Turning it off adds <code>data-nosnippet<\/code> directly to the block\u2019s existing <code>div<\/code>, <code>section<\/code>, or <code>span<\/code> root during server rendering.<\/p>\n\n<p>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.<\/p>\n\n<p>Note that adding <code>data-nosnippet<\/code> does not change indexing or organic search visibility - only the wrapped contents' eligibility for inclusion in snippets and AI answers.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>search-snippet-control-for-blocks<\/code> directory to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate Search Snippet Control for Blocks in WordPress.<\/li>\n<li>Select a supported block and open its Advanced settings.<\/li>\n<li>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.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"i%20can%27t%20see%20the%20control%20for%20some%20blocks%20%28paragraph%2C%20image%20etc.%29\"><h3>I can't see the control for some blocks (Paragraph, Image etc.)<\/h3><\/dt>\n<dd><p>To avoid compatibility and\/or layout issues, the toggle is only available on blocks that already use compatible <code>div<\/code>, <code>section<\/code> or <code>span<\/code> elements, where the <code>data-nosnippet<\/code> tag can be added. You can simply put the content you wish to exclude within a supported layout block such as a Group.<\/p><\/dd>\n<dt id=\"does%20this%20have%20an%20impact%20on%20seo%3F\"><h3>Does this have an impact on SEO?<\/h3><\/dt>\n<dd><p>No, applying <code>data-nosnippet<\/code> 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.<\/p><\/dd>\n<dt id=\"my%20content%20is%20still%20being%20included%20in%20ai%20answers%21%20why%3F\"><h3>My content is still being included in AI answers! Why?<\/h3><\/dt>\n<dd><p>Sometimes other plugins may output the entire page contents in the articleBody schema field without taking into account visibility controls, which renders on-page <code>data-nosnippet<\/code> 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 <code>data-nosnippet<\/code> exclusions.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Make the search-engine usage control on by default and add data-nosnippet only when it is turned off.<\/li>\n<li>Use one stable toggle label and help message in both states.<\/li>\n<li>Identify We Are All Connected as the plugin author and add initial WordPress.org directory metadata.<\/li>\n<li>Rename the plugin to Search Snippet Control for Blocks and use search-engine-neutral interface copy.<\/li>\n<li>Confirm compatibility with WordPress 7.1.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Verify the expected wp-block-* root class before applying data-nosnippet, preventing accidental targeting of markup prepended by another renderer.<\/li>\n<li>Reject non-string block content defensively before HTML processing.<\/li>\n<li>Guard against double loading with class and constant checks.<\/li>\n<li>Adopt the current ToggleControl margin convention in the editor control.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial development release.<\/li>\n<li>Support seven core container blocks with direct-root rendering.<\/li>\n<li>Do not add wrappers or apply ancestor-based exclusions.<\/li>\n<\/ul>","raw_excerpt":"Control whether supported WordPress blocks can be used in search snippets and AI-generated answers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/359992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=359992"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/weareallconnected"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=359992"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=359992"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=359992"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=359992"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=359992"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=359992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}