內容簡介
這款外掛可以在 WordPress 的頁面和文章中使用超過 1000 個 Material Design 圖示,使用者可以透過簡易的縮寫或 HTML 標籤插入圖示。
功能
縮寫產生器 - 包含易於使用的 TinyMCE 彈出式縮寫產生器。
使用方法
Material Design 圖示有三種不同的使用方式:縮寫、HTML和 TinyMCE。
1. 縮寫
[mdi-icon name="material-ul" size="2x" color="red"]
您也可以使用十六進位色碼的方式設定顏色:
[mdi-icon name=”material-ul” size=”2x” color=”#000000″]
您可以在 Github 上查看更多縮寫的使用方法。
2. TinyMCE
當您在 TinyMCE 的視覺化模式中編輯時,Material Design 圖示也提供了一個彈出式視窗。請查看我們的 屏幕截圖 以查看它的外觀。
3. HTML
請注意,HTML 使用時需要加入前綴。因此,建議使用縮寫方式而非使用 HTML。HTML 版本如下:
外掛標籤
開發者團隊
原文外掛簡介
Enables 1000+ Material Design icons within WordPress pages and posts. Icons can be inserted with a shortcode or HTML markup.
Features
Shortcode generator – includes an easy-to-use TinyMCE pop-up shortcode generator.
Usage
Material Design Icons can be used in 3 different ways: shortcode, HTML, and TinyMCE
1. Shortcode
[mdi-icon name="material-ul" size="2x" color="red"]
You can also use hex values for color:
[mdi-icon name=”material-ul” size=”2x” color=”#000000″]
You can read more about shortcode usage on Github
2. TinyMCE
Material Design Icons also provides you with a pop-up window when editing in TinyMCE’s visual mode. Check out our Screenshots to see what it looks like.
3. HTML
Note that prefixes are required for HTML usage. For this reason, shortcode usage is encouraged over HTML. A HTML version would look like:
