WP Manifestindependent plugin directory
manifest / editor / custom-list-block-markers

Custom List Block Markers

An example for updating a core WordPress list block with custom fields and styles.

★ 0stars

Install

Download source zip No release zip yet

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.zip
No 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.

custom-list-block-markers

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.