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/amalter/carousel_block/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.
UWKC Carousel Block
Description
A custom WordPress Gutenberg Carousel Block built for uwkc.org using the @wordpress/create-block starter kit. Written with ESNext standard and JSX support – build step required.
Built with the Tiny Slider 2 JavaScript library. It displays a caoursel/slider layout with user settings to change layout in the WordPress editor.
Installation
- Either:
- Download the zip of this repository and install via WordPress admin. (Or manually add extracted zip folder to plugins folder)
- Or, use terminal to cd into
pluginsfolder and clone this repository.
- cd into
/plugins/uwkc-carousel-block/and runnpm installto install the node_modules package for the project.
Updating code
- Inside
/plugins/uwkc-carousel-block/, you can run the following commands during development and build:npm startStarts the build for developmentnpm run buildBuilds the code for productionnpm run formatFormats filesnpm run lint:cssLints CSS files.npm run lint:jsLints JavaScript files.npm run packages-updateUpdates WordPress packages to the latest version.
Changelog
0.1.0
- Release