This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

All Icon Block

Description

This plugin provides an easy way to add a custom SVG icon or graphic to the Block Editor (Gutenberg). It also includes the complete WordPress icon library with over 270 SVG icons to choose from!

Key Features

  • 270+ native WordPress icons, including social logos
  • Use any custom SVG icon or graphic
  • Includes some handy icon controls (link, rotate, alignment, colors, border, padding, margin, etc.)
  • No block library required ๐ŸŽ‰
  • Built almost entirely with native WordPress components
  • Will get additional functionality as it’s added to WordPress core
  • Register your own custom icon library. Learn more

Stay Connected

Blocks

This plugin provides 1 block.

  • The Icon Block Insert an SVG icon or graphic.

Installation

  1. You have a couple options:
    • Go to Plugins → Add New and search for โ€œAll Icon Blockโ€. Once found, click โ€œInstallโ€.
    • Download the Icon Block from wordpress.org and make sure the folder us zipped. Then upload via Plugins → Add New → Upload.
    • Open the block inserter within the Block Editor (Gutenberg) and search for โ€œiconโ€. The plugin should appear and allow you to it install directly. Skip steps 2 and 3.
  2. Activate the plugin through the โ€˜Pluginsโ€™ screen in WordPress.
  3. Search for the block within the Block Editor (Gutenberg) and begin using.

FAQ

Where can I get more icons?

Currently, the Icon Block only includes the WordPress icon library. That said, the plugin allows you to render any SVG-based icon by simply copy/pasting the code into the icon textarea when using the โ€œAdd custom iconโ€ option! See the screenshots for reference. This gives you complete flexibility and allows you to use practically any icon you want. A great source for free SVG icons is Google’s Material Icons project, Font Awesome, and Iconic, just to name a few.

The Icon Block also allows you to register your own custom block library. This needs to be done externally in your theme, or via a plugin, but provides complete flexibility over the icons available in the plugin. Learn more.

Why is my icon not changing color?

The Icon Block includes controls for the icon’s color and background. However, if your SVG icon has hard coded color/fill values, the plugin will respect those instead of any applied custom colors.

Why is the block not working for certain users?

WordPress only allows Administrators and Editors to save โ€œUnfiltered HTMLโ€ content, which includes SVGs. The Icon Block will not work properly for users who are at the Author level or lower.

Note that WordPress multisite installations have additional restrictions. โ€œUnfiltered HTMLโ€ is restricted to Super Admins on multisite. To enable โ€œUnfiltered HTMLโ€ content for site Administrators and Editors, you will need to use a code snippet, the Unfiltered MU plugin, or something similar. Regrettably, this is a WordPress restriction and needs to be handled outside of the Icon Block.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“All Icon Block” is open source software. The following people have contributed to this plugin.

Contributors

Translate “All Icon Block” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release ๐ŸŽ‰