Skip to content

Releases: humanmade/button-block-icon

Release list

1.0.0

Choose a tag to compare

@github-actions github-actions released this 31 Aug 12:44

First stable release.

Adds an Icon panel to core/button: choose from any collection registered with the Icons API, or upload a one-off SVG. Size, position before or after the label, and an optional label hide on mobile.

The icon is added on render_block, not written into post content, so core button markup is untouched and uninstalling leaves clean content behind.

Filters: hm_button_icon_collections, hm_button_icon_sizes, hm_button_icon_mobile_breakpoint.

Requires WordPress 7.1 for the Icons API, and PHP 8.3.

Install: download button-block-icon-1.0.0.zip below and upload it under Plugins, Add New, Upload Plugin. The source archives GitHub generates carry no built assets, so installing from source or from a Composer VCS checkout still needs npm ci && npm run build.

See SECURITY.md for the uploaded SVG tradeoff before allowing SVG uploads on a site.