Source of the Widget Context plugin for WordPress.
-
Search for "Widget Context" under "Plugins → Add New" in your WordPress dashboard.
-
Install as a Composer dependency:
composer require kasparsd/widget-context
-
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 -d
which is available at widgetcontext.localhost.