Composer
composer require rwsite/wp-addon-plugin
Вручную
Transforms a standard WordPress site into a faster, safer, and easier-to-manage installation. The plugin bundles WP Tweaker (48 performance and security tweaks), Redirects, Cookie Banner, Markdown editor, Plugin catalog, Comment spam protection, and admin utilities in one place.
| Component | Minimum | Tested |
|---|---|---|
| WordPress | 6.6 | 6.6 – 7.2 |
| PHP | 8.2 | 8.2, 8.3, 8.4 |
| CodeStar Framework | 2.3.1 | bundled copy, sibling plugin, or auto-installed |
The plugin does not support PHP 7.x or WordPress versions below 6.6. CI runs the test suite on PHP 8.2, 8.3, and 8.4.
Performance, security, and housekeeping tweaks grouped in admin settings. Each toggle is independent and can be enabled without touching code.
Categories include:
Rule-based redirect manager with support for exact, prefix, and regex matches. Handles 301/302/307/308, query strings, and import/export.
GDPR-oriented cookie consent banner with customizable text, button labels, and styling.
Optional Markdown editing mode for posts and pages with live preview.
Built-in catalog of project plugins with GitHub metadata, search, and quick links — useful on multi-plugin setups.
Rejects spam before it reaches the database, so nothing is stored, no moderation email is sent, and the page cache is never purged.
git submodule add git@github.com:rwsite/wp-addon-plugin.git wp-content/plugins/wp-addon-plugin
wp-content/plugins/wp-addon-plugin/.cd wp-content/plugins/wp-addon-plugin
composer install
The admin settings screen is built on CodeStar Framework (CSF). The plugin resolves the framework automatically, in this order:
codestar-framework plugin is active (this repository ships it as a submodule in wp-content/plugins/codestar-framework/).wp-addon-plugin/lib/codestar-framework/ (git-ignored; created by the installer).2.3.1 release from GitHub into lib/. Requires a user with the install_plugins capability and write access to wp-content/plugins/.wp-content/plugins/codestar-framework/ and activate it.If every source fails, an admin notice shows the underlying download or filesystem error, and the settings screen stays hidden until CSF is available.
composer install
composer test # 265 unit tests
composer test:coverage
composer analyse # PHPStan level 2
composer lint # Pint
composer quality # lint + analyse + test
wp-addon-plugin/
├── wp-addon-plugin.php # Bootstrap
├── src/
│ ├── Core/Plugin.php # Initialization, module loader
│ ├── ControllerWP.php # Option-driven tweak activation
│ ├── Config/ # Settings field definitions
│ └── Services/ # Redirects, assets, media, etc.
├── functions/ # Procedural modules (auto-loaded)
│ ├── seo/
│ ├── posts/
│ ├── shortcodes/
│ └── ...
└── tests/Unit/
Modules under functions/ are loaded automatically by Plugin::loadModules(). Tweaks registered in src/Config/tweaks.php are activated via ControllerWP based on saved settings.
See CHANGELOG.md.
GPL-2.0-or-later
Aleksey Tikhomirov — rwsite.ru
WP Excellence Addon — плагин для оптимизации, безопасности и удобства администрирования WordPress.
PHP 7.x и WordPress ниже 6.6 не поддерживаются.
Установка: скачать релиз или подключить как git submodule. После активации настройки доступны в админке WordPress.
Экран настроек построен на CodeStar Framework. Фреймворк ищется и подключается автоматически, в таком порядке:
codestar-framework (в этом репозитории он идёт submodule'ом в wp-content/plugins/codestar-framework/).wp-addon-plugin/lib/codestar-framework/ (каталог создаётся установщиком, в git не входит).2.3.1 с GitHub в lib/. Нужен пользователь с capability install_plugins и права записи в wp-content/plugins/.codestar-framework.Если ни один источник не сработал, в админке показывается уведомление с текстом ошибки загрузки или записи файлов, а экран настроек скрыт до тех пор, пока CSF не станет доступен.