LensPress
WordPress Gutenberg plugin for conditional content based on client variables
by Alexander Barber · github.com/aebarber/lenspress · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/aebarber/lenspress/archive/refs/heads/main.zipA simple WordPress Gutenberg editor plugin that provides a method of creating conditional content dependent on client-side variables.
Description
A simple WordPress Gutenberg editor plugin that provides a method of creating conditional content dependent on client-side variables.
Developers run the following to get started:
- composer install
- yarn install
Then, to run the PHP unit tests once, run (from the project's root):
- ./vendor/bin/phpunit --config phpunit.xml
Then, to build the JavaScript code, run:
- yarn run build
Or, if you want the JavaScript to automatically build when files are modified:
- yarn run dev