{"id":367038,"date":"2026-09-25T14:18:49","date_gmt":"2026-09-25T14:18:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/mosne-button-icons\/"},"modified":"2026-09-25T14:18:15","modified_gmt":"2026-09-25T14:18:15","slug":"mosne-button-icons","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/mosne-button-icons\/","author":5709024,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.2","stable_tag":"0.2.2","tested":"7.1.2","requires":"7.1","requires_php":"7.2","requires_plugins":null,"header_name":"Mosne Button Icons","header_author":"Mosne","header_description":"Insert WordPress icons inline in Rich Text, the same way as inline images.","assets_banners_color":"c8c8c8","last_updated":"2026-09-25 14:18:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/mosne\/mosne-button-icons","header_author_uri":"https:\/\/mosne.it","rating":0,"author_block_rating":0,"active_installs":0,"downloads":59,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.2.2":{"tag":"0.2.2","author":"mosne","date":"2026-09-25 14:18:15","revision":3713169}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3713169,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3713169,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3713169,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3713169,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.2"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Inline icon format in the Rich Text toolbar (add screenshot-1.png to .wordpress-org\/)","2":"Icon picker with Phosphor collection (add screenshot-2.png to .wordpress-org\/)","3":"Inline icons rendered in a button on the front end (add screenshot-3.png to .wordpress-org\/)"}},"plugin_section":[],"plugin_tags":[148857,485,498,282726,12737],"plugin_category":[50],"plugin_contributors":[228843],"plugin_business_model":[],"class_list":["post-367038","plugin","type-plugin","status-publish","hentry","plugin_tags-block-editor","plugin_tags-button","plugin_tags-icons","plugin_tags-phosphor","plugin_tags-rich-text","plugin_category-media","plugin_contributors-mosne","plugin_committers-mosne"],"banners":{"banner":"https:\/\/ps.w.org\/mosne-button-icons\/assets\/banner-772x250.png?rev=3713169","banner_2x":"https:\/\/ps.w.org\/mosne-button-icons\/assets\/banner-1544x500.png?rev=3713169","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/mosne-button-icons\/assets\/icon-128x128.png?rev=3713169","icon_2x":"https:\/\/ps.w.org\/mosne-button-icons\/assets\/icon-256x256.png?rev=3713169","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds an <strong>Inline icon<\/strong> format to the block editor toolbar. It works anywhere Rich Text allows formats (paragraphs, headings, buttons, lists, and more).<\/p>\n\n<p>Icons come from the WordPress Icons API (the same library as the <code>core\/icon<\/code> block), including collections registered by themes and plugins via <code>wp_register_icon()<\/code>. An optional Phosphor icon collection ships with the plugin and can be disabled from Settings or via a filter.<\/p>\n\n<p>The format stores an icon name. On the front end, WordPress renders the SVG with <code>wp_get_icon()<\/code> so the icon inherits the surrounding text color.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Inline icon Rich Text format in the block editor toolbar<\/li>\n<li>Works in paragraphs, headings, buttons, and other Rich Text fields<\/li>\n<li>Uses the WordPress Icons API (<code>wp_get_icon<\/code>, <code>wp_register_icon<\/code>)<\/li>\n<li>Ships with a Phosphor icon collection under icon-collections\/<\/li>\n<li>Toggle built-in collections via Settings or a filter<\/li>\n<li>Front-end SVG rendering that inherits text color<\/li>\n<li>Accessible labels via alt \/ aria-label (empty means decorative)<\/li>\n<\/ul>\n\n<h3>Credits<\/h3>\n\n<p>This plugin ships SVG icons from <a href=\"https:\/\/phosphoricons.com\">Phosphor Icons<\/a>, distributed via the <a href=\"https:\/\/www.npmjs.com\/package\/@phosphor-icons\/core\"><code>@phosphor-icons\/core<\/code><\/a> package.<\/p>\n\n<p>Phosphor Icons is licensed under the <a href=\"https:\/\/opensource.org\/licenses\/MIT\">MIT License<\/a>. Copyright (c) 2023 Phosphor Icons.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/mosne-button-icons<\/code> directory, or install the plugin through the WordPress plugins screen.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>In the block editor, place the cursor in Rich Text and choose Inline icon from the format toolbar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"which%20wordpress%20version%20do%20i%20need%3F\"><h3>Which WordPress version do I need?<\/h3><\/dt>\n<dd><p>WordPress 7.1 or later is required because the plugin relies on the Icons API.<\/p><\/dd>\n<dt id=\"can%20i%20use%20icons%20from%20other%20collections%3F\"><h3>Can I use icons from other collections?<\/h3><\/dt>\n<dd><p>Yes. Any collection registered with <code>wp_register_icon()<\/code> \/ <code>wp_register_icon_collection()<\/code> is available in the picker.<\/p><\/dd>\n<dt id=\"how%20do%20i%20disable%20a%20built-in%20collection%3F\"><h3>How do I disable a built-in collection?<\/h3><\/dt>\n<dd><p>Go to Settings \u2192 Mosne Button Icons and uncheck the collection, or use the <code>mosne_button_icons_collection_enabled<\/code> filter in code. Collections are enabled by default.<\/p><\/dd>\n<dt id=\"how%20do%20icons%20look%20on%20the%20front%20end%3F\"><h3>How do icons look on the front end?<\/h3><\/dt>\n<dd><p>Placeholders are replaced with SVG markup from <code>wp_get_icon()<\/code>, so icons inherit the surrounding text color.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Move Phosphor icons under icon-collections\/ for multiple collections.<\/li>\n<li>Add Settings page and mosne_button_icons_collection_enabled filter to disable collections.<\/li>\n<li>Cache icon file lists with a transient to avoid repeated filesystem scans.<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Replace custom SVG attributes with a global Rich Text format backed by the Icons API.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Insert WordPress icons inline in Rich Text, the same way as inline images.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/367038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=367038"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mosne"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=367038"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=367038"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=367038"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=367038"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=367038"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=367038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}