跳到内容

Mosne Button Icons

v0.2.3

Mosne / Paolo Tesei · 2026年9月25日 上架

Insert WordPress icons inline in Rich Text, the same way as inline images.

正在使用
10 以下
评分
暂无
累计下载
281
最近更新
2026年10月7日
需要 WordPress 7.1+已测试到 7.1.5PHP 7.2+

Adds an Inline icon format to the block editor toolbar. It works anywhere Rich Text allows formats (paragraphs, headings, buttons, lists, and more).

Icons come from the WordPress Icons API (the same library as the core/icon block), including collections registered by themes and plugins via wp_register_icon(). An optional Phosphor icon collection ships with the plugin and can be disabled from Settings or via a filter.

The format stores an icon name. On the front end, WordPress renders the SVG with wp_get_icon() so the icon inherits the surrounding text color.

Features

  • Inline icon Rich Text format in the block editor toolbar
  • Works in paragraphs, headings, buttons, and other Rich Text fields
  • Uses the WordPress Icons API (wp_get_icon, wp_register_icon)
  • Ships with a Phosphor icon collection under icon-collections/
  • Toggle built-in collections via Settings or a filter
  • Front-end SVG rendering that inherits text color
  • Accessible labels via screen-reader text (empty means decorative)

Credits

This plugin ships SVG icons from Phosphor Icons, distributed via the @phosphor-icons/core package.

Phosphor Icons is licensed under the MIT License. Copyright (c) 2023 Phosphor Icons.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums