UCSC Content Blocks
A collection of WordPress blocks for UC Santa Cruz.
by UC Santa Cruz · github.com/ucsc/ucsc-content-blocks · website
★ 3stars
16release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/ucsc/ucsc-content-blocks/releases/download/v0.1.10/ucsc-content-blocks.zipFrom the readme
UC Santa Cruz Content Blocks
A collection of WordPress blocks for UC Santa Cruz. Built with @wordpress/scripts. Additional blocks will be added as use cases arise.
Current Blocks
- Details -- a block that utilizes the element that can be used as an accordion
- Details Wrapper -- a block that wraps multiple Details blocks, enabling them to be opened and closed simultaneously
Requirements
Cloning and installing this plugin requires:
- Git
- GitHub Cli (optional but helpful)
- Node.js/npm
- Composer
Block development will require a local WordPress development environment such as @wordpress/env.
Clone and install
- Clone repo: gh repo clone ucsc/ucsc-content-blocks
- cd ucsc-content-blocks/
- npm install
- composer install
Directory structure and scripts
This plugin was developed using @wordpress/scripts (see the "devDependencies" object in package.json).
Both src/ and build/ directories are located within the blocks/ directory at the project root.
Build and Start
The following npm scripts will build (or start) the entire plugin.
npm run build
npm run start (start will initiate a perpetual build after every file save)
Additional scripts
There are build and start
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v0.1.10 | Jan 16, 2024 | ucsc-content-blocks.zip | 6 |
| v0.1.10-beta.0 | Aug 21, 2023 | ucsc-content-blocks.zip | 10 |
| v0.1.7 | Jul 21, 2023 | — | — |