Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/gavin-mcgregor/cjp-plugin/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Example Block
Installation
Adding new blocks to this plugin.
- Terminal > cd src
- npx @wordpress/create-block --no-plugin
- You can accept the warning about system requirements
- chose: — dynamic block — name — cjp-blocks — name — blank — blank — widgets (change later)
- cjp-blocks.php > add "register block" to list