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/sewebb/iis-blocks/archive/refs/heads/master.zipOn Packagist as iis/blocks:
composer require iis/blocksNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
IIS Blocks
WordPress blocks library.
Install
composer require iis/blocks
Requirements
iis-blocks assumes that the website that runs it runs on iis-styleguide. The following js components needs to be enabled from the styleguide:
- Form
Usage
The package will be installed as a plugin so all you need to do is activate it. All blocks will be available in the editor under the category "Internetstiftelsen".
Testing
If you have Docker installed, you can utilize wp-env.
npx wp-env start # To start the environment
npx wp-env stop # To stop the environment
A clean wordpress install will be available at http://localhost:8888 with the plugin activated and IIS default theme.