该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Dynamic SVG Icons

描述

This plugin provides a number of icons out-of-the-box that can be enabled and included in a site as SVG markup. Custom SVG icons/images are also supported.

The icons are placed on a page as HTML elements with specific class names which the plugin then replaces with SVG code via JavaScript.

For a full list of built-in SVG icons see built-in icons.

Support

Please submit bugs, patches, and feature requests to:

https://github.com/mishterk/dynamic-svg-icons-plugin-for-wordpress

安装

  1. Download dynamic-svg-icons.zip
  2. Unzip
  3. Upload dynamic-svg-icons directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin

You can find full details of installing a plugin on the plugin installation page.

Full documentation can be found on the GitHub repository docs.

常见问题

Why would I use this over an icon font?

This approach cuts out the additional requests to load an icon font. It is also easier to register your custom SVG images with this plugin than to load them into an icon font.

Can I use my own SVG images?

Yes. See the using custom SVGs section of the documentation to learn how.

Can I override the default icon SVG markup?

Yes. See the overriding built-in SVGs section of the documentation to learn how.

评价

2019 年 4 月 24 日
I prefer to have my SVGs be dynamic. Static SVGs are so 2010. I installed this plugin and it brought me instant joy and solved all of my business problems, thank you!
阅读所有1条评价

贡献者及开发者

“Dynamic SVG Icons” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Dynamic SVG Icons”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志