kasparsd / widget-context
WordPress plugin for showing or hiding widgets on specific posts, pages and sections of a site.
Package info
github.com/kasparsd/widget-context-wporg
Type:wordpress-plugin
pkg:composer/kasparsd/widget-context
1.4.0
2026-05-18 11:49 UTC
Requires (Dev)
- 10up/wp_mock: ^1.1
- dealerdirect/phpcodesniffer-composer-installer: ^1.2
- mockery/mockery: ^1.6
- php-coveralls/php-coveralls: ^2.9
- phpcompatibility/phpcompatibility-wp: ^3.0@alpha
- phpmd/phpmd: ^2.15
- phpunit/phpunit: ^9.6
- wp-coding-standards/wpcs: ^3.3
- yoast/phpunit-polyfills: ^4.0
This package is auto-updated.
Last update: 2026-05-18 11:57:05 UTC
README
Source of the Widget Context plugin for WordPress.
Install
-
Search for "Widget Context" under "Plugins → Add New" in your WordPress dashboard.
-
Install as a Composer dependency:
composer require kasparsd/widget-context
Development
-
Clone the plugin repository:
git clone https://github.com/kasparsd/widget-context-wporg.git cd widget-context-wporg -
Install the development dependencies:
npm install -
Start the development environment:
docker compose up -dwhich is available at widgetcontext.localhost.

