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/ndiego/base-blocks/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.
A collection of blocks for the Base theme.
Description
Base Blocks provides custom blocks designed to work seamlessly with the Base theme.
Blocks
Dark Mode Toggle
Add a customizable dark mode switcher that remembers user preferences.
Notice Block
Display notices and alerts with customizable styles.
GitHub Stats Block
Show star and fork counts for any public GitHub repository.
Requirements
- Base theme
- WordPress 6.7 or later
- PHP 7.4 or later
Installation
- Upload the plugin files to
/wp-content/plugins/base-blocks - Activate the plugin through the 'Plugins' screen in WordPress
- Use the blocks in the block editor
Development
This plugin is built using modern WordPress development tools. To contribute:
- Clone the repository
- Run
npm install - Use
npm startfor development - Use
npm run buildfor production builds