Block Button Popup
A boilerplate WordPress Gutenberg block
by Genero · github.com/generoi/wp-gutenberg-button-popup · website
★ 17stars
1.8kcomposer installs
0forks
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/generoi/wp-gutenberg-button-popup/archive/refs/heads/master.zipAlso on Packagist as generoi/wp-gutenberg-button-popup:
composer require generoi/wp-gutenberg-button-popupFrom the readme
wp-gutenberg-button-popup
A Gutenberg block for creating buttons that open popups
Installation
composer require generoi/wp-gutenberg-button-popup
Requirements
- WordPress 5.6 or newer
Usage
You can customize the default template for popups with a filter.
Development
Install dependencies
composer install
npm install
Run the tests
npm run test
Build assets
Minified assets which are to be committed to git
npm run build:production
Watch for changes and re-compile while developing the plugin
npm run start
Read the full README on GitHub →