Install
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.zipNo 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
- Download the plugin
- Upload to
/wp-content/plugins/remove-wp-site-blocks/ - Activate through the 'Plugins' menu in WordPress
Requirements
- WordPress 7.0 or higher
- PHP 8.1 or higher
Features
- ✅ Removes
.wp-site-blockswrapper 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-blockswrapper 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
Releases
2 releases. Each count is every asset in that release; expand a row for the breakdown.