Custom Icons
Custom Icons for Wordpress Icon Block
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/silas229/wordpress-custom-icons/archive/refs/heads/main.zipWordPress plugin that adds a Custom Icons admin screen under Design and registers SVG icons from the Media Library for the core/icon block.
Features
- Custom post type Custom Icons under Design
- Select SVG files from the Media Library
- Default icon name from the media item's post title
- Optional custom slug per icon
- Registers icons in
WP_Icons_Registry - Adds REST/editor integration so custom icons can be discovered by the block editor
Installation
- Copy this plugin into your WordPress plugins directory.
- Activate the plugin.
- Ensure SVG uploads are allowed in your WordPress install.
Usage
- Go to Design → Custom Icons.
- Create a new Custom Icon.
- Choose an SVG from the Media Library.
- Optionally adjust the title and slug.
- Publish the Custom Icon.
The icon will be registered with a name like:
custom-icons/my-icon
This can then be used by the core/icon block.
Notes
- The editor integration uses a REST endpoint at
/wp-json/custom-icons/v1/icons. - Access to the endpoint is limited to users who can
edit_posts. - SVG sanitization is intentionally conservative but lightweight.
Releases
1 release.
Tag
Published
v0.4.0
latest
Jun 15, 2026 2mo ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.