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/consid-webbteamet/municipio-color-extension/archive/refs/heads/main.zipOn Packagist as consid-webbteamet/municipio-color-extension:
composer require consid-webbteamet/municipio-color-extensionWordPress plugin that adds extended color palettes to the Municipio Customizer.
Requirements
- PHP 8.0+
- WordPress
- Municipio (the plugin uses
\Municipio\Customizer\KirkiFieldand\Municipio\Customizer)
Installation
Composer
composer require consid-webbteamet/municipio-color-extension
In Bedrock, the plugin is installed to web/app/plugins/municipio-color-extension via type: wordpress-plugin.
Manual
- Place the plugin in
wp-content/plugins/municipio-color-extension - Activate the plugin in WordPress admin
Functionality
The plugin registers four extended color palettes in the Customizer:
- Primary
- Secondary
- Tertiary
- Quaternary
Each palette exposes shades (50-500) as CSS variables on :root, for example --color-primary-500.
Release and Packagist
- Ensure
composer.jsonhas the correctname,type,description, andlicense. - Commit and push to a public Git repository (GitHub/GitLab/Bitbucket).
- Create a semver tag and push it:
git tag v1.2.1
git push origin v1.2.1
- Log in to packagist.org, click Submit, and enter the repository URL.
- In the package settings on Packagist, enable the GitHub/GitLab hook for automatic updates on push/tag.
Development
No build process is required. The plugin consists of a single PHP file loaded directly by WordPress.
Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.