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/cheffheid/custom-list-block-markers/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.
Custom List Markers
This is an example of a feature I came up with for a recent client. It makes use of core WordPress filters to add new fields to the List block, and then uses the values of those fields to update the List block on the frontend.
Changelog
1.0.0
First release. Includes:
- wp-scripts, eslint, and prettier packages and configuration.
- List Block customization scripts.
- CSS that changes the list marker style, sets a CSS variable for its colour.
- PHP to filter the core list block output on the frontend and set a new inline CSS variable with the selected color.