這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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 訂閱開發記錄