WP Manifestindependent plugin directory
manifest / themes / remove-wp-site-blocks

Remove WP Site Blocks Wrapper

WordPress plugin to remove .wp-site-blocks wrapper

★ 0stars
2release downloads
v1.1.0latest · 5mo ago

Install

Download remove-wp-site-blocks.zip From the v1.1.0 release on GitHub, May 27, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/philippwinzer/remove-wp-site-blocks/releases/download/v1.1.0/remove-wp-site-blocks.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A lightweight WordPress plugin that removes the .wp-site-blocks wrapper div automatically generated by WordPress 7, which can interfere with ACSS framework and custom styling.

Description

WordPress 7 introduces a new .wp-site-blocks wrapper div that wraps the main content. While this may be useful for some themes, it can interfere with custom CSS frameworks like ACSS (Automatic CSS) and break existing layouts.

This plugin removes the wrapper using multiple approaches:

  • Server-side removal during block rendering
  • Client-side JavaScript fallback for edge cases

Installation

  1. Download the plugin
  2. Upload to /wp-content/plugins/remove-wp-site-blocks/
  3. Activate through the 'Plugins' menu in WordPress

Requirements

  • WordPress 7.0 or higher
  • PHP 8.1 or higher

Features

  • ✅ Removes .wp-site-blocks wrapper automatically
  • ✅ No configuration needed
  • ✅ Compatible with ACSS framework
  • ✅ Lightweight and performant
  • ✅ Can be deactivated anytime

License

GPL v2 or later

Changelog

1.1.0 - 2026-05-27

  • Improved: Switched to output buffering for more reliable wrapper removal
  • Fixed: Now removes .wp-site-blocks wrapper from entire HTML output, not just specific blocks
  • Enhanced: Better compatibility with various WordPress themes and page builders

1.0.0 - 2026-05-25

  • Initial release

Author

8px

Releases

2 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.1.0 latest
May 27, 2026 5mo ago
remove-wp-site-blocks.zip
2
May 25, 2026 5mo ago
remove-wp-site-blocks.zip
0